aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/nix-instantiate.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/manual/nix-instantiate.xml')
-rw-r--r--doc/manual/nix-instantiate.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/manual/nix-instantiate.xml b/doc/manual/nix-instantiate.xml
index 936f154dd..6a4348f00 100644
--- a/doc/manual/nix-instantiate.xml
+++ b/doc/manual/nix-instantiate.xml
@@ -103,9 +103,10 @@ input.</para>
<varlistentry><term><option>--find-file</option></term>
<listitem><para>Look up the given files in Nix’s search path (as
- specified by the <envar>NIX_PATH</envar> environment variable).
- If found, print the corresponding absolute paths on standard
- output. For instance, if <envar>NIX_PATH</envar> is
+ specified by the <envar linkend="env-NIX_PATH">NIX_PATH</envar>
+ environment variable). If found, print the corresponding absolute
+ paths on standard output. For instance, if
+ <envar>NIX_PATH</envar> is
<literal>nixpkgs=/home/alice/nixpkgs</literal>, then
<literal>nix-instantiate --find-file nixpkgs/default.nix</literal>
will print