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.
|
// FIXME: should copy directly from substituter to destStore.
|
||||||
}
|
}
|
||||||
|
|
||||||
StorePathSet closure;
|
copyClosure(*localStore, *destStore,
|
||||||
localStore->computeFSClosure({*path}, closure);
|
StorePathSet { *path },
|
||||||
copyPaths(*localStore, *destStore, closure, NoRepair, CheckSigs, NoSubstitute);
|
NoRepair, CheckSigs, NoSubstitute);
|
||||||
|
|
||||||
time_t stopTime = time(0);
|
time_t stopTime = time(0);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue