doc: Document forthcomming NIX_DEBUG degredations

+7 -6
+7 -6
doc/stdenv.xml
··· 1 - 2 1 <chapter xmlns="http://docbook.org/ns/docbook" 3 2 xmlns:xlink="http://www.w3.org/1999/xlink" 4 3 xml:id="chap-stdenv"> ··· 188 187 189 188 <varlistentry> 190 189 <term><varname>NIX_DEBUG</varname></term> 191 - <listitem><para>If set, <literal>stdenv</literal> will print some 192 - debug information during the build. In particular, the 193 - <command>gcc</command> and <command>ld</command> wrapper scripts 194 - will print out the complete command line passed to the wrapped 195 - tools.</para></listitem> 190 + <listitem><para> 191 + A natural number indicating how much information to log. 192 + If set to 1 or higher, <literal>stdenv</literal> will print moderate debug information during the build. 193 + In particular, the <command>gcc</command> and <command>ld</command> wrapper scripts will print out the complete command line passed to the wrapped tools. 194 + If set to 6 or higher, the <literal>stdenv</literal> setup script will be run with <literal>set -x</literal> tracing. 195 + If set to 7 or higher, the <command>gcc</command> and <command>ld</command> wrapper scripts will also be run with <literal>set -x</literal> tracing. 196 + </para></listitem> 196 197 </varlistentry> 197 198 198 199 </variablelist>