aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/build/substitution-goal.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/build/substitution-goal.hh')
-rw-r--r--src/libstore/build/substitution-goal.hh14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/libstore/build/substitution-goal.hh b/src/libstore/build/substitution-goal.hh
index 0260888ff..e546fc06f 100644
--- a/src/libstore/build/substitution-goal.hh
+++ b/src/libstore/build/substitution-goal.hh
@@ -66,7 +66,7 @@ struct PathSubstitutionGoal : public Goal
std::unique_ptr<MaintainCount<uint64_t>> maintainExpectedSubstitutions,
maintainRunningSubstitutions, maintainExpectedNar, maintainExpectedDownload;
- typedef WorkResult (PathSubstitutionGoal::*GoalState)();
+ typedef WorkResult (PathSubstitutionGoal::*GoalState)(bool inBuildSlot);
GoalState state;
/**
@@ -94,16 +94,16 @@ public:
return "a$" + std::string(storePath.name()) + "$" + worker.store.printStorePath(storePath);
}
- WorkResult work() override;
+ WorkResult work(bool inBuildSlot) override;
/**
* The states.
*/
- WorkResult init();
- WorkResult tryNext();
- WorkResult referencesValid();
- WorkResult tryToRun();
- WorkResult finished();
+ WorkResult init(bool inBuildSlot);
+ WorkResult tryNext(bool inBuildSlot);
+ WorkResult referencesValid(bool inBuildSlot);
+ WorkResult tryToRun(bool inBuildSlot);
+ WorkResult finished(bool inBuildSlot);
/**
* Callback used by the worker to write to the log.