forked from lix-project/lix
Merge pull request #3193 from matthewbauer/patch-11
Update man to show that nix-shell allows --arg
This commit is contained in:
commit
7876027071
|
@ -243,9 +243,10 @@
|
||||||
<varlistentry><term><option>--arg</option> <replaceable>name</replaceable> <replaceable>value</replaceable></term>
|
<varlistentry><term><option>--arg</option> <replaceable>name</replaceable> <replaceable>value</replaceable></term>
|
||||||
|
|
||||||
<listitem><para>This option is accepted by
|
<listitem><para>This option is accepted by
|
||||||
<command>nix-env</command>, <command>nix-instantiate</command> and
|
<command>nix-env</command>, <command>nix-instantiate</command>,
|
||||||
<command>nix-build</command>. When evaluating Nix expressions, the
|
<command>nix-shell</command and <command>nix-build</command>.
|
||||||
expression evaluator will automatically try to call functions that
|
When evaluating Nix expressions, the expression evaluator will
|
||||||
|
automatically try to call functions that
|
||||||
it encounters. It can automatically call functions for which every
|
it encounters. It can automatically call functions for which every
|
||||||
argument has a <link linkend='ss-functions'>default value</link>
|
argument has a <link linkend='ss-functions'>default value</link>
|
||||||
(e.g., <literal>{ <replaceable>argName</replaceable> ?
|
(e.g., <literal>{ <replaceable>argName</replaceable> ?
|
||||||
|
|
Loading…
Reference in a new issue