about summary refs log tree commit diff
path: root/third_party/nix/src
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src')
-rw-r--r--third_party/nix/src/libstore/build.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/third_party/nix/src/libstore/build.cc b/third_party/nix/src/libstore/build.cc
index 6e4ca99b15d0..b7d7c1d431ab 100644
--- a/third_party/nix/src/libstore/build.cc
+++ b/third_party/nix/src/libstore/build.cc
@@ -284,11 +284,11 @@ class Worker {
   /* Make a goal (with caching). */
   GoalPtr makeDerivationGoal(std::ostream& log_sink, const Path& drvPath,
                              const StringSet& wantedOutputs,
-                             BuildMode buildMode = bmNormal);
+                             BuildMode buildMode);
 
   std::shared_ptr<DerivationGoal> makeBasicDerivationGoal(
       std::ostream& log_sink, const Path& drvPath, const BasicDerivation& drv,
-      BuildMode buildMode = bmNormal);
+      BuildMode buildMode);
 
   GoalPtr makeSubstitutionGoal(std::ostream& log_sink, const Path& storePath,
                                RepairFlag repair = NoRepair);
@@ -888,10 +888,10 @@ class DerivationGoal : public Goal {
 
  public:
   DerivationGoal(Worker& worker, std::ostream& log_sink, const Path& drvPath,
-                 StringSet wantedOutputs, BuildMode buildMode = bmNormal);
+                 StringSet wantedOutputs, BuildMode buildMode);
 
   DerivationGoal(Worker& worker, std::ostream& log_sink, const Path& drvPath,
-                 const BasicDerivation& drv, BuildMode buildMode = bmNormal);
+                 const BasicDerivation& drv, BuildMode buildMode);
 
   ~DerivationGoal() override;