From 67e5dd3ce9f46f810c06e16671e98f8e56b4e25c Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 16 Sep 2014 11:20:09 +0200 Subject: [PATCH] Add some hyperlinks between NIXPATH and -I --- doc/manual/env-common.xml | 34 +++++++++++++++++----------------- doc/manual/nix-instantiate.xml | 7 ++++--- doc/manual/opt-common.xml | 11 ++++++----- 3 files changed, 27 insertions(+), 25 deletions(-) diff --git a/doc/manual/env-common.xml b/doc/manual/env-common.xml index 91a3e9e32..3d0b35f3e 100644 --- a/doc/manual/env-common.xml +++ b/doc/manual/env-common.xml @@ -9,8 +9,8 @@ - -NIX_PATH + +NIX_PATH @@ -26,7 +26,7 @@ /home/eelco/Dev and /etc/nixos, in that order. It is also possible to match paths against a prefix. For example, the value - + nixpkgs=/home/eelco/Dev/nixpkgs-branch:/etc/nixos @@ -37,12 +37,12 @@ nixpkgs=/home/eelco/Dev/nixpkgs-branch:/etc/nixos /etc/nixos/nixpkgs/path. - The search path can be extended using the - option, which takes precedence over + The search path can be extended using the option, which takes precedence over NIX_PATH. - + NIX_IGNORE_SYMLINK_STORE @@ -65,7 +65,7 @@ nixpkgs=/home/eelco/Dev/nixpkgs-branch:/etc/nixos you’re better off using bind mount points, e.g., -$ mkdir /nix +$ mkdir /nix $ mount -o bind /mnt/otherdisk/nix /nix Consult the mount @@ -80,7 +80,7 @@ $ mount -o bind /mnt/otherdisk/nix /nix Overrides the location of the Nix store (default prefix/store). - + @@ -89,7 +89,7 @@ $ mount -o bind /mnt/otherdisk/nix /nix Overrides the location of the Nix static data directory (default prefix/share). - + @@ -97,7 +97,7 @@ $ mount -o bind /mnt/otherdisk/nix /nix Overrides the location of the Nix log directory (default prefix/log/nix). - + @@ -105,7 +105,7 @@ $ mount -o bind /mnt/otherdisk/nix /nix Overrides the location of the Nix state directory (default prefix/var/nix). - + @@ -114,7 +114,7 @@ $ mount -o bind /mnt/otherdisk/nix /nix Overrides the location of the Nix database (default $NIX_STATE_DIR/db, i.e., prefix/var/nix/db). - + @@ -123,7 +123,7 @@ $ mount -o bind /mnt/otherdisk/nix /nix Overrides the location of the Nix configuration directory (default prefix/etc/nix). - + @@ -133,7 +133,7 @@ $ mount -o bind /mnt/otherdisk/nix /nix files. In particular, this includes temporary build directories; these can take up substantial amounts of disk space. The default is /tmp. - + @@ -231,7 +231,7 @@ $ mount -o bind /mnt/otherdisk/nix /nix store derivation itself). - + outputs The set of store paths that are outputs of the @@ -280,7 +280,7 @@ $ mount -o bind /mnt/otherdisk/nix /nix - + NIX_OTHER_STORES This variable contains the paths of remote Nix @@ -331,7 +331,7 @@ $ mount -o bind /mnt/otherdisk/nix /nix - + 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. Look up the given files in Nix’s search path (as - specified by the NIX_PATH environment variable). - If found, print the corresponding absolute paths on standard - output. For instance, if NIX_PATH is + specified by the NIX_PATH + environment variable). If found, print the corresponding absolute + paths on standard output. For instance, if + NIX_PATH is nixpkgs=/home/alice/nixpkgs, then nix-instantiate --find-file nixpkgs/default.nix will print diff --git a/doc/manual/opt-common.xml b/doc/manual/opt-common.xml index f8584f4d6..7cef96b1b 100644 --- a/doc/manual/opt-common.xml +++ b/doc/manual/opt-common.xml @@ -351,13 +351,14 @@ - path + path Add a path to the Nix expression search path. This - option may be given multiple times. See the NIX_PATH - environment variable for information on the semantics of the Nix - search path. Paths added through take - precedence over NIX_PATH. + option may be given multiple times. See the NIX_PATH environment variable for + information on the semantics of the Nix search path. Paths added + through take precedence over + NIX_PATH.