mirror of
https://github.com/NixOS/nix
synced 2025-07-07 01:51:47 +02:00
propagate NIX_BUILD_SHELL also in pure builds document NIX_BUILD_SHELL in the nix-shell command documentation
This commit is contained in:
parent
80ebd60e7c
commit
0eb200e569
2 changed files with 17 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue