about summary refs log tree commit diff
path: root/doc/manual/command-ref
diff options
context:
space:
mode:
authorJoel Moberg <joel.moberg@gmail.com>2016-02-18T22·25+0100
committerJoel Moberg <joel.moberg@gmail.com>2016-02-18T22·32+0100
commitbb36a1a3cf3fbe6bc9d0afcc5fa0f928bed03170 (patch)
tree190fac3fd36681904ded5fa2b3b3e1df0981a027 /doc/manual/command-ref
parent7251a81bde29fe1a17aa5b29dd74a4200239b010 (diff)
Document IN_NIX_SHELL variable
Diffstat (limited to 'doc/manual/command-ref')
-rw-r--r--doc/manual/command-ref/env-common.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/manual/command-ref/env-common.xml b/doc/manual/command-ref/env-common.xml
index cb1ecfee123e..27efef945f15 100644
--- a/doc/manual/command-ref/env-common.xml
+++ b/doc/manual/command-ref/env-common.xml
@@ -11,6 +11,12 @@
 
 <variablelist xml:id="env-common">
 
+<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>
+
+</varlistentry>
 
 <varlistentry xml:id="env-NIX_PATH"><term><envar>NIX_PATH</envar></term>