mirror of
https://github.com/NixOS/nix.git
synced 2025-11-27 04:30:59 +01:00
copyPaths: Pass store by reference
This commit is contained in:
parent
8d9f7048cd
commit
668abd3e57
8 changed files with 81 additions and 54 deletions
|
|
@ -204,7 +204,7 @@ void PathSubstitutionGoal::tryToRun()
|
|||
Activity act(*logger, actSubstitute, Logger::Fields{worker.store.printStorePath(storePath), sub->getUri()});
|
||||
PushActivity pact(act.id);
|
||||
|
||||
copyStorePath(ref<Store>(sub), ref<Store>(worker.store.shared_from_this()),
|
||||
copyStorePath(*sub, worker.store,
|
||||
subPath ? *subPath : storePath, repair, sub->isTrusted ? NoCheckSigs : CheckSigs);
|
||||
|
||||
promise.set_value();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue