forked from lix-project/hydra
Put back nicer copyClosure
instead of manual closure + copy
It looks like we accidentally got the old code back, probably after a merge conflict resolution.
This commit is contained in:
parent
8046ec2668
commit
e3443cd22a
|
@ -535,9 +535,9 @@ Step::ptr State::createStep(ref<Store> destStore,
|
|||
// FIXME: should copy directly from substituter to destStore.
|
||||
}
|
||||
|
||||
StorePathSet closure;
|
||||
localStore->computeFSClosure({*path}, closure);
|
||||
copyPaths(*localStore, *destStore, closure, NoRepair, CheckSigs, NoSubstitute);
|
||||
copyClosure(*localStore, *destStore,
|
||||
StorePathSet { *path },
|
||||
NoRepair, CheckSigs, NoSubstitute);
|
||||
|
||||
time_t stopTime = time(0);
|
||||
|
||||
|
|
Loading…
Reference in a new issue