diff options
author | eldritch horrors <pennae@lix.systems> | 2024-08-30 19:01:30 +0200 |
---|---|---|
committer | eldritch horrors <pennae@lix.systems> | 2024-08-30 19:01:30 +0200 |
commit | a385c5935aa7cfec4de47cfe5620bca2e0e0e55d (patch) | |
tree | 71606271d2fe3c234a8e4180c6c2bba16964a741 /src/libstore/build/derivation-goal.cc | |
parent | dc0cace604d71d274654525e90d0afed9aa36dc9 (diff) |
libstore: rename Goal::Finished::result to exitCode
the more useful type for `result` is BuildResult.
Change-Id: If93d9384e8d686eb63b33320f1d565f9b9afbf3a
Diffstat (limited to 'src/libstore/build/derivation-goal.cc')
-rw-r--r-- | src/libstore/build/derivation-goal.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build/derivation-goal.cc b/src/libstore/build/derivation-goal.cc index c288003b4..3011d5c6f 100644 --- a/src/libstore/build/derivation-goal.cc +++ b/src/libstore/build/derivation-goal.cc @@ -1549,7 +1549,7 @@ Goal::Finished DerivationGoal::done( } return Finished{ - .result = buildResult.success() ? ecSuccess : ecFailed, + .exitCode = buildResult.success() ? ecSuccess : ecFailed, .ex = ex ? std::make_shared<Error>(std::move(*ex)) : nullptr, .permanentFailure = buildResult.status == BuildResult::PermanentFailure, .timedOut = buildResult.status == BuildResult::TimedOut, |