Fix localhost builds

This commit is contained in:
Eelco Dolstra 2020-10-20 12:11:46 +02:00
parent 6cd2bb6954
commit 4e05acc471

View file

@ -315,7 +315,7 @@ void State::buildRemote(ref<Store> destStore,
if (sendDerivation) {
to << cmdBuildPaths;
worker_proto::write(*localStore, to, {step->drvPath});
worker_proto::write(*localStore, to, StorePathSet{step->drvPath});
} else {
to << cmdBuildDerivation << localStore->printStorePath(step->drvPath);
writeDerivation(to, *localStore, basicDrv);