From d75df91f74b6819f674f0733143fdf32580af183 Mon Sep 17 00:00:00 2001 From: eldritch horrors Date: Fri, 30 Aug 2024 19:01:30 +0200 Subject: libstore: add build result to Goal::Finished it just makes sense to have it too, rather than just the pass/fail information we keep so far. once we turn goals into something more promise-shaped it'll also help detangle the current data flow mess Change-Id: I915cf04d177cad849ea7a5833215d795326f1946 --- src/libstore/build/goal.hh | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libstore/build/goal.hh') diff --git a/src/libstore/build/goal.hh b/src/libstore/build/goal.hh index 9d9ab53ca..502ba2a7d 100644 --- a/src/libstore/build/goal.hh +++ b/src/libstore/build/goal.hh @@ -125,6 +125,7 @@ public: }; struct [[nodiscard]] Finished { ExitCode exitCode; + BuildResult result; std::shared_ptr ex; bool permanentFailure = false; bool timedOut = false; -- cgit v1.2.3