diff options
author | Shea Levy <shea@shealevy.com> | 2017-04-26 12:38:16 -0400 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2017-04-26 14:15:47 -0400 |
commit | 4bc00760f9bc36d5b4e8bba7de9bd71a30d7f31a (patch) | |
tree | c3b20ad676ed2a3e6f8cdfe4a2e4f04aad111a2b /src/libstore/remote-store.cc | |
parent | 98a2adb1359ec35ac8da7a52754d2290531f8cef (diff) |
Add Store nesting to fix import-from-derivation within filterSource
Diffstat (limited to 'src/libstore/remote-store.cc')
-rw-r--r-- | src/libstore/remote-store.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/remote-store.cc b/src/libstore/remote-store.cc index bc9ef3d47..af59d5110 100644 --- a/src/libstore/remote-store.cc +++ b/src/libstore/remote-store.cc @@ -414,7 +414,9 @@ Path RemoteStore::addToStore(const string & name, const Path & _srcPath, try { conn->to.written = 0; conn->to.warn = true; + connections->incCapacity(); dumpPath(srcPath, conn->to, filter); + connections->decCapacity(); conn->to.warn = false; conn->processStderr(); } catch (SysError & e) { |