diff options
-rw-r--r-- | doc/manual/env-common.xml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/manual/env-common.xml b/doc/manual/env-common.xml index e6a358931848..9e97e58f5784 100644 --- a/doc/manual/env-common.xml +++ b/doc/manual/env-common.xml @@ -312,6 +312,24 @@ $ mount -o bind /mnt/otherdisk/nix /nix</screen> </varlistentry> +<varlistentry><term><envar>NIX_SHOW_STATS</envar></term> + + <listitem><para>If set to <literal>1</literal>, Nix will print some + evaluation statistics, such as the number of values + allocated.</para></listitem> + +</varlistentry> + + +<varlistentry><term><envar>NIX_COUNT_CALLS</envar></term> + + <listitem><para>If set to <literal>1</literal>, Nix will print how + often functions were called during Nix expression evaluation. This + is useful for profiling your Nix expressions.</para></listitem> + +</varlistentry> + + <varlistentry><term><envar>GC_INITIAL_HEAP_SIZE</envar></term> <listitem><para>If Nix has been configured to use the Boehm garbage |