about summary refs log tree commit diff
path: root/doc/manual/conf-file.xml
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-05-29T20·42-0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-05-29T20·42-0400
commit2c26985835cf82ed5d2979c3a400f72f6aeba32f (patch)
tree364273cc2613dab8ab578c7cb27e468dcfbe9f86 /doc/manual/conf-file.xml
parent8058dab26e90db54708d4c698db843dd703ecbb2 (diff)
Add option ‘build-keep-log’ to enable/disable writing of build logs
Fixes #26.
Diffstat (limited to 'doc/manual/conf-file.xml')
-rw-r--r--doc/manual/conf-file.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/manual/conf-file.xml b/doc/manual/conf-file.xml
index 1e164b8234af..25a009de9d45 100644
--- a/doc/manual/conf-file.xml
+++ b/doc/manual/conf-file.xml
@@ -276,6 +276,18 @@ build-use-chroot = /dev /proc /bin</programlisting>
   </varlistentry>
 
 
+  <varlistentry><term><literal>build-keep-log</literal></term>
+
+    <listitem><para>If set to <literal>true</literal> (the default),
+    Nix will write the build log of a derivation (i.e. the standard
+    output and error of its builder) to the directory
+    <filename>/nix/var/log/nix/drvs</filename>.  The build log can be
+    retrieved using the command <command>nix-store -l
+    <replaceable>path</replaceable></command>.</para></listitem>
+
+  </varlistentry>
+
+
   <varlistentry><term><literal>system</literal></term>
 
     <listitem><para>This option specifies the canonical Nix system