Update src/libstore/build.cc

Thanks for catching, @regnat.
This commit is contained in:
John Ericson 2020-08-28 17:22:57 -04:00 committed by GitHub
parent 8eb73a8724
commit 421ed527c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1477,8 +1477,7 @@ void DerivationGoal::inputsRealised()
});
auto resolvedGoal = worker.makeDerivationGoal(
pathResolved, wantedOutputs,
buildMode == bmRepair ? bmRepair : bmNormal);
pathResolved, wantedOutputs, buildMode);
addWaitee(resolvedGoal);
state = &DerivationGoal::resolvedFinished;