aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/build/drv-output-substitution-goal.hh
diff options
context:
space:
mode:
authorMatej Urbas <matej.urbas@gmail.com>2023-05-08 19:45:46 +0100
committerMatej Urbas <matej.urbas@gmail.com>2023-05-08 19:45:46 +0100
commit13185133bcdff751274e55bf29b80b4e600cd973 (patch)
tree878720d15ad41970c720d27d6bbdada6ab78a2fd /src/libstore/build/drv-output-substitution-goal.hh
parent1ea1e378de22bf32b5ccc1edf66798ab91299ac7 (diff)
introduces `Goal::jobCategory`
Diffstat (limited to 'src/libstore/build/drv-output-substitution-goal.hh')
-rw-r--r--src/libstore/build/drv-output-substitution-goal.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstore/build/drv-output-substitution-goal.hh b/src/libstore/build/drv-output-substitution-goal.hh
index 697ddb283..5d1253a71 100644
--- a/src/libstore/build/drv-output-substitution-goal.hh
+++ b/src/libstore/build/drv-output-substitution-goal.hh
@@ -21,7 +21,7 @@ class Worker;
class DrvOutputSubstitutionGoal : public Goal {
/**
- * The drv output we're trying to substitue
+ * The drv output we're trying to substitute
*/
DrvOutput id;
@@ -72,6 +72,8 @@ public:
void work() override;
void handleEOF(int fd) override;
+
+ JobCategory jobCategory() override { return JobCategory::Substitution; };
};
}