From 1caf2afb1d1fffe0ff54244d335c168f4c32cbdf Mon Sep 17 00:00:00 2001 From: eldritch horrors Date: Sat, 5 Oct 2024 00:38:35 +0200 Subject: libstore: move Goal::buildResult to WorkResult derivation goals still hold a BuildResult member variable since parts of these results of accumulated in different places, but the Goal class now no longer has such a field. substitution goals don't need it at all, and derivation goals should also be refactored to not drop their buildResult Change-Id: Ic6d3d471cdbe790a6e09a43445e25bedec6ed446 --- src/libstore/build/derivation-goal.hh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/libstore/build/derivation-goal.hh') diff --git a/src/libstore/build/derivation-goal.hh b/src/libstore/build/derivation-goal.hh index b461b7d0d..3885afe4a 100644 --- a/src/libstore/build/derivation-goal.hh +++ b/src/libstore/build/derivation-goal.hh @@ -184,6 +184,11 @@ struct DerivationGoal : public Goal std::map initialOutputs; + /** + * Build result. + */ + BuildResult buildResult; + /** * File descriptor for the log file. */ -- cgit v1.2.3