docs: describe $IN_NIX_SHELL values (#2796)

See commit 1bffd83e1a
This commit is contained in:
Vladimír Čunát 2019-05-17 09:50:42 +02:00 committed by GitHub
parent 8f6c72faee
commit c0559a1d60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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>