1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 01:51:47 +02:00

Fix repair during substitution

This commit is contained in:
Eelco Dolstra 2016-05-12 15:42:19 +02:00
parent 3be2e71ab3
commit b66ab6cdbc
3 changed files with 5 additions and 4 deletions

View file

@ -3198,7 +3198,8 @@ void SubstitutionGoal::tryToRun()
/* Wake up the worker loop when we're done. */
Finally updateStats([this]() { outPipe.writeSide.close(); });
copyStorePath(ref<Store>(sub), ref<Store>(worker.store.shared_from_this()), storePath);
copyStorePath(ref<Store>(sub), ref<Store>(worker.store.shared_from_this()),
storePath, repair);
promise.set_value();
} catch (...) {