aboutsummaryrefslogtreecommitdiff
path: root/doc/manual
diff options
context:
space:
mode:
authorJoel Moberg <joel.moberg@gmail.com>2016-02-18 23:25:23 +0100
committerJoel Moberg <joel.moberg@gmail.com>2016-02-18 23:32:37 +0100
commitbb36a1a3cf3fbe6bc9d0afcc5fa0f928bed03170 (patch)
tree190fac3fd36681904ded5fa2b3b3e1df0981a027 /doc/manual
parent7251a81bde29fe1a17aa5b29dd74a4200239b010 (diff)
Document IN_NIX_SHELL variable
Diffstat (limited to 'doc/manual')
-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 cb1ecfee1..27efef945 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>