Fix build
This commit is contained in:
parent
f1d5c254b5
commit
5edb58b314
|
@ -267,7 +267,7 @@ void State::buildRemote(ref<Store> destStore,
|
|||
if (localStore != std::shared_ptr<Store>(destStore)) {
|
||||
StorePathSet closure;
|
||||
localStore->computeFSClosure(step->drv->inputSrcs, closure);
|
||||
copyPaths(ref<Store>(localStore), destStore, closure, NoRepair, NoCheckSigs, NoSubstitute);
|
||||
copyPaths(*localStore, *destStore, closure, NoRepair, NoCheckSigs, NoSubstitute);
|
||||
}
|
||||
|
||||
/* Copy the input closure. */
|
||||
|
|
|
@ -511,7 +511,7 @@ Step::ptr State::createStep(ref<Store> destStore,
|
|||
|
||||
StorePathSet closure;
|
||||
localStore->computeFSClosure({*path}, closure);
|
||||
copyPaths(ref<Store>(localStore), destStore, closure, NoRepair, CheckSigs, NoSubstitute);
|
||||
copyPaths(*localStore, *destStore, closure, NoRepair, CheckSigs, NoSubstitute);
|
||||
|
||||
time_t stopTime = time(0);
|
||||
|
||||
|
|
Loading…
Reference in a new issue