forked from lix-project/lix
Add some hyperlinks between NIXPATH and -I
This commit is contained in:
parent
d2d5543625
commit
67e5dd3ce9
|
@ -10,7 +10,7 @@
|
||||||
<variablelist xml:id="env-common">
|
<variablelist xml:id="env-common">
|
||||||
|
|
||||||
|
|
||||||
<varlistentry><term><envar>NIX_PATH</envar></term>
|
<varlistentry xml:id="env-NIX_PATH"><term><envar>NIX_PATH</envar></term>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ nixpkgs=/home/eelco/Dev/nixpkgs-branch:/etc/nixos</screen>
|
||||||
<filename>/etc/nixos/nixpkgs/<replaceable>path</replaceable></filename>.
|
<filename>/etc/nixos/nixpkgs/<replaceable>path</replaceable></filename>.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>The search path can be extended using the
|
<para>The search path can be extended using the <option
|
||||||
<option>-I</option> option, which takes precedence over
|
linkend="opt-I">-I</option> option, which takes precedence over
|
||||||
<envar>NIX_PATH</envar>.</para></listitem>
|
<envar>NIX_PATH</envar>.</para></listitem>
|
||||||
|
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
|
@ -103,9 +103,10 @@ input.</para>
|
||||||
<varlistentry><term><option>--find-file</option></term>
|
<varlistentry><term><option>--find-file</option></term>
|
||||||
|
|
||||||
<listitem><para>Look up the given files in Nix’s search path (as
|
<listitem><para>Look up the given files in Nix’s search path (as
|
||||||
specified by the <envar>NIX_PATH</envar> environment variable).
|
specified by the <envar linkend="env-NIX_PATH">NIX_PATH</envar>
|
||||||
If found, print the corresponding absolute paths on standard
|
environment variable). If found, print the corresponding absolute
|
||||||
output. For instance, if <envar>NIX_PATH</envar> is
|
paths on standard output. For instance, if
|
||||||
|
<envar>NIX_PATH</envar> is
|
||||||
<literal>nixpkgs=/home/alice/nixpkgs</literal>, then
|
<literal>nixpkgs=/home/alice/nixpkgs</literal>, then
|
||||||
<literal>nix-instantiate --find-file nixpkgs/default.nix</literal>
|
<literal>nix-instantiate --find-file nixpkgs/default.nix</literal>
|
||||||
will print
|
will print
|
||||||
|
|
|
@ -351,13 +351,14 @@
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
|
||||||
<varlistentry><term><option>-I</option> <replaceable>path</replaceable></term>
|
<varlistentry xml:id="opt-I"><term><option>-I</option> <replaceable>path</replaceable></term>
|
||||||
|
|
||||||
<listitem><para>Add a path to the Nix expression search path. This
|
<listitem><para>Add a path to the Nix expression search path. This
|
||||||
option may be given multiple times. See the <envar>NIX_PATH</envar>
|
option may be given multiple times. See the <envar
|
||||||
environment variable for information on the semantics of the Nix
|
linkend="env-NIX_PATH">NIX_PATH</envar> environment variable for
|
||||||
search path. Paths added through <option>-I</option> take
|
information on the semantics of the Nix search path. Paths added
|
||||||
precedence over <envar>NIX_PATH</envar>.</para></listitem>
|
through <option>-I</option> take precedence over
|
||||||
|
<envar>NIX_PATH</envar>.</para></listitem>
|
||||||
|
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue