Public Types | |
enum | Status { Built = 0 , Substituted , AlreadyValid , PermanentFailure , InputRejected , OutputRejected , TransientFailure , CachedFailure , TimedOut , MiscFailure , DependencyFailed , LogLimitExceeded , NotDeterministic , ResolvesToAlreadyValid , NoSubstituters } |
Public Member Functions | |
std::string | toString () const |
bool | operator== (const BuildResult &) const noexcept |
std::strong_ordering | operator<=> (const BuildResult &) const noexcept |
bool | success () |
void | rethrow () |
Public Attributes | |
enum nix::BuildResult::Status | status = MiscFailure |
std::string | errorMsg |
unsigned int | timesBuilt = 0 |
bool | isNonDeterministic = false |
SingleDrvOutputs | builtOutputs |
time_t | startTime = 0 |
time_t | stopTime = 0 |
std::optional< std::chrono::microseconds > | cpuUser |
std::optional< std::chrono::microseconds > | cpuSystem |
SingleDrvOutputs nix::BuildResult::builtOutputs |
For derivations, a mapping from the names of the wanted outputs to actual paths.
std::optional<std::chrono::microseconds> nix::BuildResult::cpuUser |
User and system CPU time the build took.
std::string nix::BuildResult::errorMsg |
bool nix::BuildResult::isNonDeterministic = false |
If timesBuilt > 1, whether some builds did not produce the same result. (Note that 'isNonDeterministic = false' does not mean the build is deterministic, just that we don't have evidence of non-determinism.)
time_t nix::BuildResult::startTime = 0 |
The start/stop times of the build (or one of the rounds, if it was repeated).
unsigned int nix::BuildResult::timesBuilt = 0 |
How many times this build was performed.