···11-21<chapter xmlns="http://docbook.org/ns/docbook"
32 xmlns:xlink="http://www.w3.org/1999/xlink"
43 xml:id="chap-stdenv">
···188187189188 <varlistentry>
190189 <term><varname>NIX_DEBUG</varname></term>
191191- <listitem><para>If set, <literal>stdenv</literal> will print some
192192- debug information during the build. In particular, the
193193- <command>gcc</command> and <command>ld</command> wrapper scripts
194194- will print out the complete command line passed to the wrapped
195195- tools.</para></listitem>
190190+ <listitem><para>
191191+ A natural number indicating how much information to log.
192192+ If set to 1 or higher, <literal>stdenv</literal> will print moderate debug information during the build.
193193+ In particular, the <command>gcc</command> and <command>ld</command> wrapper scripts will print out the complete command line passed to the wrapped tools.
194194+ If set to 6 or higher, the <literal>stdenv</literal> setup script will be run with <literal>set -x</literal> tracing.
195195+ 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.
196196+ </para></listitem>
196197 </varlistentry>
197198198199</variablelist>