diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-11-19T15·20+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-11-19T15·20+0000 |
commit | 7509d70f9ddec7d28911e6b6f2145bc50a923e9f (patch) | |
tree | 03671a5622b11542361c68e5a6ffa02e0467e3c5 /doc/manual/env-common.xml | |
parent | 2369b122d19c7a08fc6e38e5a8aab90636ed4132 (diff) |
* Documented some of the sharing mechanisms.
Diffstat (limited to 'doc/manual/env-common.xml')
-rw-r--r-- | doc/manual/env-common.xml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/manual/env-common.xml b/doc/manual/env-common.xml index fdfbaf59ab2b..d6ebbf654761 100644 --- a/doc/manual/env-common.xml +++ b/doc/manual/env-common.xml @@ -274,6 +274,27 @@ $ mount -o bind /mnt/otherdisk/nix /nix</screen> </varlistentry> +<varlistentry xml:id="envar-other-stores"><term><envar>NIX_OTHER_STORES</envar></term> + + <listitem><para>This variable contains the paths of remote Nix + installations from whichs paths can be copied, separated by colons. + See <xref linkend="sec-sharing-packages" /> for details. Each path + should be the <filename>/nix</filename> directory of a remote Nix + installation (i.e., not the <filename>/nix/store</filename> + directory). The paths are subject to globbing, so you can set it so + something like <literal>/var/run/nix/remote-stores/*/nix</literal> + and mount multiple remote filesystems in + <literal>/var/run/nix/remote-stores</literal>.</para> + + <para>Note that if you’re building through the <link + linkend="sec-nix-worker">Nix daemon</link>, the only setting for + this variable that matters is the one that the + <command>nix-worker</command> process uses. So if you want to + change it, you have to restart the daemon.</para></listitem> + +</varlistentry> + + </variablelist> |