diff options
Diffstat (limited to 'src/libstore/build/worker.hh')
-rw-r--r-- | src/libstore/build/worker.hh | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/src/libstore/build/worker.hh b/src/libstore/build/worker.hh index 20aa34e74..6e7c1c626 100644 --- a/src/libstore/build/worker.hh +++ b/src/libstore/build/worker.hh @@ -105,6 +105,27 @@ private: */ std::map<StorePath, bool> pathContentsGoodCache; + /** + * Set if at least one derivation had a BuildError (i.e. permanent + * failure). + */ + bool permanentFailure = false; + + /** + * Set if at least one derivation had a timeout. + */ + bool timedOut = false; + + /** + * Set if at least one derivation fails with a hash mismatch. + */ + bool hashMismatch = false; + + /** + * Set if at least one derivation is not deterministic in check mode. + */ + bool checkMismatch = false; + void goalFinished(GoalPtr goal, Goal::Finished & f); void handleWorkResult(GoalPtr goal, Goal::WorkResult how); @@ -133,27 +154,6 @@ public: const Activity actDerivations; const Activity actSubstitutions; - /** - * Set if at least one derivation had a BuildError (i.e. permanent - * failure). - */ - bool permanentFailure; - - /** - * Set if at least one derivation had a timeout. - */ - bool timedOut; - - /** - * Set if at least one derivation fails with a hash mismatch. - */ - bool hashMismatch; - - /** - * Set if at least one derivation is not deterministic in check mode. - */ - bool checkMismatch; - Store & store; Store & evalStore; |