diff --git a/doc/manual/command-ref/env-common.xml b/doc/manual/command-ref/env-common.xml index b52e45030..39e3e9cff 100644 --- a/doc/manual/command-ref/env-common.xml +++ b/doc/manual/command-ref/env-common.xml @@ -283,28 +283,6 @@ $ mount -o bind /mnt/otherdisk/nix /nix -NIX_OTHER_STORES - - This variable contains the paths of remote Nix - installations from which packages can be copied, separated by colons. - See for details. Each path should be the - /nix directory of a remote Nix installation - (i.e., not the /nix/store directory). The - paths are subject to globbing, so you can set it so something like - /var/run/nix/remote-stores/*/nix and mount - multiple remote filesystems in - /var/run/nix/remote-stores. - - Note that if you’re building through the Nix daemon, the only setting for - this variable that matters is the one that the - nix-daemon process uses. So if you want to - change it, you have to restart the daemon. - - - - NIX_SHOW_STATS If set to 1, Nix will print some diff --git a/doc/manual/manual.xml b/doc/manual/manual.xml index 513eb311c..2fdb8435f 100644 --- a/doc/manual/manual.xml +++ b/doc/manual/manual.xml @@ -25,7 +25,7 @@ Eelco Dolstra - April 2014 + September 2014 diff --git a/doc/manual/packages/sharing-packages.xml b/doc/manual/packages/sharing-packages.xml index 573b7c1e7..8fab15f7e 100644 --- a/doc/manual/packages/sharing-packages.xml +++ b/doc/manual/packages/sharing-packages.xml @@ -53,30 +53,5 @@ But note that nix-copy-closure is generally more efficient in this example because it only copies paths that are not already present in the target Nix store. -Finally, if you can mount the Nix store of a remote machine in -your local filesystem, Nix can copy paths from the remote Nix store to -the local Nix store on demand. For instance, -suppose that you mount a remote machine containing a Nix store via -sshfs: - -$ sshfs alice@itchy.example.org:/ /mnt - -You should then set the NIX_OTHER_STORES environment -variable to tell Nix about this remote Nix store: - - -$ export NIX_OTHER_STORES=/mnt/nix - -Then if you do any Nix operation, e.g. - - -$ nix-env -i firefox - -and Nix has to build a path that it sees is already present in -/mnt/nix, then it will just copy from there -instead of building it from source. - - - \ No newline at end of file +