about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2019-05-17T07·50+0200
committerGitHub <noreply@github.com>2019-05-17T07·50+0200
commitc0559a1d6092b94c7ce46a065d72fc74e4db51dd (patch)
tree9b48bafc63de59011101921cfd1b0bd79fb9ee99 /doc
parent8f6c72faeec2dfd3ce6e48c9539bb5d7a161f37a (diff)
docs: describe $IN_NIX_SHELL values (#2796)
See commit 1bffd83e1a9
Diffstat (limited to 'doc')
-rw-r--r--doc/manual/command-ref/env-common.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/manual/command-ref/env-common.xml b/doc/manual/command-ref/env-common.xml
index c532ffddea22..6a3aaae717e2 100644
--- a/doc/manual/command-ref/env-common.xml
+++ b/doc/manual/command-ref/env-common.xml
@@ -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>