docs: describe $IN_NIX_SHELL values (#2796)

See commit 1bffd83e1a

(cherry picked from commit c0559a1d60)
This commit is contained in:
Vladimír Čunát 2019-05-17 09:50:42 +02:00
parent 0baf7dc25e
commit 7d5716aeb9

View File

@ -14,7 +14,8 @@
<varlistentry><term><envar>IN_NIX_SHELL</envar></term>
<listitem><para>Indicator that tells if the current environment was set up by
<command>nix-shell</command>.</para></listitem>
<command>nix-shell</command>. Since Nix 2.0 the values are
<literal>"pure"</literal> and <literal>"impure"</literal></para></listitem>
</varlistentry>