diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-07-02T15·37+0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-02T15·37+0200 |
commit | 7e1c85c5fbf48811bb9a4969f9c32fce2a3e5fa7 (patch) | |
tree | 4b6d7b4f6ab4e6eaaa1201167ab37ae30ffa0959 /doc/manual/command-ref/nix-store.xml | |
parent | db700f730ee4543d41974089b225b365ec427028 (diff) | |
parent | 68bdd83dc88ec55c6c51fa92e84e7d7d408c554a (diff) |
Merge pull request #2779 from LnL7/build-exit-codes
build: add exit code for hash and check mismatches
Diffstat (limited to 'doc/manual/command-ref/nix-store.xml')
-rw-r--r-- | doc/manual/command-ref/nix-store.xml | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/doc/manual/command-ref/nix-store.xml b/doc/manual/command-ref/nix-store.xml index 625598310ff7..113a3c2e41ed 100644 --- a/doc/manual/command-ref/nix-store.xml +++ b/doc/manual/command-ref/nix-store.xml @@ -215,6 +215,48 @@ printed.)</para> </variablelist> +<para>Special exit codes:</para> + +<variablelist> + + <varlistentry><term><literal>100</literal></term> + <listitem><para>Generic build failure, the builder process + returned with a non-zero exit code.</para></listitem> + </varlistentry> + + <varlistentry><term><literal>101</literal></term> + <listitem><para>Build timeout, the build was aborted because it + did not complete within the specified <link + linkend='conf-timeout'><literal>timeout</literal></link>. + </para></listitem> + </varlistentry> + + <varlistentry><term><literal>102</literal></term> + <listitem><para>Hash mismatch, the build output was rejected + because it does not match the specified <link + linkend="fixed-output-drvs"><varname>outputHash</varname></link>. + </para></listitem> + </varlistentry> + + <varlistentry><term><literal>104</literal></term> + <listitem><para>Not deterministic, the build succeeded in check + mode but the resulting output is not binary reproducable.</para> + </listitem> + </varlistentry> + +</variablelist> + +<para>With the <option>--keep-going</option> flag it's possible for +multiple failures to occur, in this case the 1xx status codes are or combined +using binary or. <screen> +1100100 + ^^^^ + |||`- timeout + ||`-- output hash mismatch + |`--- build failure + `---- not deterministic +</screen></para> + </refsection> |