aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorFabian Schmitthenner <development@schmitthenner.eu>2015-12-07 15:47:31 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-01-05 14:11:20 +0100
commit0eb200e569affe89c8850ea993ae0f603f40f742 (patch)
treee7337cd37f1fbfe81043d0aada63cf9825e33423 /doc
parent80ebd60e7ca3c48a19b94ddaeebb23182b703178 (diff)
propagate NIX_BUILD_SHELL also in pure builds document NIX_BUILD_SHELL in the nix-shell command documentation
Diffstat (limited to 'doc')
-rw-r--r--doc/manual/command-ref/nix-shell.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/manual/command-ref/nix-shell.xml b/doc/manual/command-ref/nix-shell.xml
index a13d9d7c1..6f00e28ca 100644
--- a/doc/manual/command-ref/nix-shell.xml
+++ b/doc/manual/command-ref/nix-shell.xml
@@ -176,6 +176,22 @@ also <xref linkend="sec-common-options" />.</phrase></para>
</refsection>
+<refsection><title>Environment variables</title>
+
+<variablelist>
+
+ <varlistentry><term><envar>NIX_BUILD_SHELL</envar></term>
+
+ <listitem><para>Shell used to start the interactive environment.
+ Defaults to the <command>bash</command> found in <envar>PATH</envar>.</para></listitem>
+
+ </varlistentry>
+
+</variablelist>
+
+</refsection>
+
+
<refsection><title>Examples</title>
<para>To build the dependencies of the package Pan, and start an