about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2019-05-13T19·03+0200
committerDaiderd Jordan <daiderd@gmail.com>2019-07-01T22·12+0200
commit1ac399dd115d5c86629389e0cdfefa0d654fc90a (patch)
tree574e30344a882b6718e835097f535939a626d92e /doc
parent99ee3755dd12e18f7085b8319a27798b0e5b7de9 (diff)
nix-store: document exit codes
Diffstat (limited to 'doc')
-rw-r--r--doc/manual/command-ref/nix-store.xml35
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/manual/command-ref/nix-store.xml b/doc/manual/command-ref/nix-store.xml
index d73cb92ee223..bf12d06f1643 100644
--- a/doc/manual/command-ref/nix-store.xml
+++ b/doc/manual/command-ref/nix-store.xml
@@ -215,6 +215,41 @@ 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 build failures to occur, in this case the 1xx status codes
+are or combined.</para>
+
 </refsection>