Fix build

This commit is contained in:
Eelco Dolstra
2020-08-27 17:46:36 +02:00
parent e463f44bfc
commit 405c52b589
3 changed files with 13 additions and 9 deletions

View File

@ -430,7 +430,7 @@ Step::ptr State::createStep(ref<Store> destStore,
step->drv = std::make_unique<Derivation>(localStore->readDerivation(drvPath));
step->parsedDrv = std::make_unique<ParsedDerivation>(drvPath, *step->drv);
step->preferLocalBuild = step->parsedDrv->willBuildLocally();
step->preferLocalBuild = step->parsedDrv->willBuildLocally(*localStore);
step->isDeterministic = get(step->drv->env, "isDetermistic").value_or("0") == "1";
step->systemType = step->drv->platform;