download-from-binary-cache: add nix.conf options

This commit is contained in:
Eelco Dolstra 2012-07-09 10:57:28 -04:00
parent 98a423b75a
commit 099125435f
3 changed files with 30 additions and 6 deletions

View file

@ -288,6 +288,26 @@ build-use-chroot = /dev /proc /bin</programlisting>
</varlistentry>
<varlistentry><term><literal>binary-caches</literal></term>
<listitem><para>A list of URLs of binary caches, separated by
whitespace. It can be overriden through the environment variable
<envar>NIX_BINARY_CACHES</envar>. The default is
<literal>http://nixos.org/binary-cache</literal>.</para></listitem>
</varlistentry>
<varlistentry><term><literal>binary-caches-parallel-connections</literal></term>
<listitem><para>The maximum number of parallel HTTP connections
used by the binary cache substituter to get NAR info files. This
number should be high to minimise latency. It defaults to
150.</para></listitem>
</varlistentry>
<varlistentry><term><literal>system</literal></term>
<listitem><para>This option specifies the canonical Nix system