Fix build

This commit is contained in:
Eelco Dolstra 2021-08-10 13:47:16 +02:00
parent f1d5c254b5
commit 5edb58b314
2 changed files with 2 additions and 2 deletions

View file

@ -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. */

View file

@ -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);