aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2020-08-28 17:22:57 -0400
committerGitHub <noreply@github.com>2020-08-28 17:22:57 -0400
commit421ed527c70201c722cbefc10576ae77e383ba8e (patch)
tree219ac052bdb81e6de38e0dabb2e8b9cbf169948c /src
parent8eb73a87245acf9d93dc401831b629981864fa58 (diff)
Update src/libstore/build.cc
Thanks for catching, @regnat.
Diffstat (limited to 'src')
-rw-r--r--src/libstore/build.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index f5256bf87..1249668c4 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -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;