1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-13 14:02:42 +01:00

Add Store nesting to fix import-from-derivation within filterSource

This commit is contained in:
Shea Levy 2017-04-26 12:38:16 -04:00
parent 98a2adb135
commit 4bc00760f9
2 changed files with 18 additions and 0 deletions

View file

@ -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) {