diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-03-09 12:25:35 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2022-03-09 12:25:35 +0100 |
commit | 761242afa08d5c9280ba6bd63a310b4334b83bb2 (patch) | |
tree | 7509dfda4c52ecab6e972e3f1ed9d3b1d0360b5b /src/libstore/build-result.hh | |
parent | a4604f19284254ac98f19a13ff7c2216de7fe176 (diff) |
BuildResult: Use DerivedPath
Diffstat (limited to 'src/libstore/build-result.hh')
-rw-r--r-- | src/libstore/build-result.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstore/build-result.hh b/src/libstore/build-result.hh index c16027808..d39d23a76 100644 --- a/src/libstore/build-result.hh +++ b/src/libstore/build-result.hh @@ -64,13 +64,13 @@ struct BuildResult non-determinism.) */ bool isNonDeterministic = false; + /* The derivation we built or the store path we substituted. */ + DerivedPath path; + /* For derivations, the derivation path and the wanted outputs. */ std::optional<StorePath> drvPath; DrvOutputs builtOutputs; - /* For substitutions, the substituted path. */ - std::optional<StorePath> outPath; - /* The start/stop times of the build (or one of the rounds, if it was repeated). */ time_t startTime = 0, stopTime = 0; |