mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 07:16:17 +02:00
97df060588
- Improved API docs from comment - Exit codes are for `nix-build`, not just `nix-store --release` - Make note in tests so the magic numbers are not surprising Picking up where #8387 left off.
950 B
950 B
Special exit codes for build failure
1xx status codes are used when requested builds failed. The following codes are in use:
-
100
Generic build failureThe builder process returned with a non-zero exit code.
-
101
Build timeoutThe build was aborted because it did not complete within the specified
timeout
. -
102
Hash mismatchThe build output was rejected because it does not match the
outputHash
attribute of the derivation. -
104
Not deterministicThe build succeeded in check mode but the resulting output is not binary reproducible.
With the --keep-going
flag it's possible for multiple failures to occur.
In this case the 1xx status codes are or combined using
bitwise OR.
0b1100100
^^^^
|||`- timeout
||`-- output hash mismatch
|`--- build failure
`---- not deterministic