mirror of
https://github.com/NixOS/nix-pills
synced 2024-09-19 04:00:13 -04:00
Explained the declare command, as it may be unfamiliar.
This commit is contained in:
parent
f0cf557c58
commit
c3ef7065b9
|
@ -65,6 +65,9 @@
|
||||||
|
|
||||||
<programlisting><xi:include href="./07/builder.sh.txt" parse="text" /></programlisting>
|
<programlisting><xi:include href="./07/builder.sh.txt" parse="text" /></programlisting>
|
||||||
|
|
||||||
|
The command <literal>declare -xp</literal>
|
||||||
|
lists exported variables.
|
||||||
|
(<literal>declare</literal> is a builtin bash function.)
|
||||||
As we covered in the previous pill, Nix computes the output path of the
|
As we covered in the previous pill, Nix computes the output path of the
|
||||||
derivation. The resulting <literal>.drv</literal> file contains a list of
|
derivation. The resulting <literal>.drv</literal> file contains a list of
|
||||||
environment variables passed to the builder. One of these is
|
environment variables passed to the builder. One of these is
|
||||||
|
|
Loading…
Reference in a new issue