diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-09-16T12·49+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-09-16T12·49+0200 |
commit | b1af336132cfe8a6e4c54912cc512f8c28d4ebf3 (patch) | |
tree | 2ddaaba65b105320cd90f5edef0173b4a1b55dd8 /doc/manual/packages | |
parent | 57f6463ec03c3399f8bd682cecab27ff1671d21d (diff) |
Undocument NIX_OTHER_STORES
Diffstat (limited to 'doc/manual/packages')
-rw-r--r-- | doc/manual/packages/sharing-packages.xml | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/doc/manual/packages/sharing-packages.xml b/doc/manual/packages/sharing-packages.xml index 573b7c1e77a6..8fab15f7ef2d 100644 --- a/doc/manual/packages/sharing-packages.xml +++ b/doc/manual/packages/sharing-packages.xml @@ -53,30 +53,5 @@ But note that <command>nix-copy-closure</command> is generally more efficient in this example because it only copies paths that are not already present in the target Nix store.</para> -<para>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 <emphasis>on demand</emphasis>. For instance, -suppose that you mount a remote machine containing a Nix store via -<command -xlink:href="http://fuse.sourceforge.net/sshfs.html">sshfs</command>: -<screen> -$ sshfs alice@itchy.example.org:/ /mnt</screen> - -You should then set the <envar>NIX_OTHER_STORES</envar> environment -variable to tell Nix about this remote Nix store: - -<screen> -$ export NIX_OTHER_STORES=/mnt/nix</screen> - -Then if you do any Nix operation, e.g. - -<screen> -$ nix-env -i firefox</screen> - -and Nix has to build a path that it sees is already present in -<filename>/mnt/nix</filename>, then it will just copy from there -instead of building it from source.</para> - - -</chapter> \ No newline at end of file +</chapter> |