From 5170c5691aac1bd6abc69be65cf880316e11fe24 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 1 Aug 2012 17:56:11 -0400 Subject: nix-channel: Use binary caches advertised by channels Channels can now advertise a binary cache by creating a file /binary-cache-url. The channel unpacker puts these in its "binary-caches" subdirectory. Thus, the URLS of the binary caches for the channels added by root appear in /nix/var/nix/profiles/per-user/eelco/channels/binary-caches/*. The binary cache substituter reads these and adds them to the list of binary caches. --- doc/manual/conf-file.xml | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'doc/manual') diff --git a/doc/manual/conf-file.xml b/doc/manual/conf-file.xml index c09d46206a23..ae167fb787c7 100644 --- a/doc/manual/conf-file.xml +++ b/doc/manual/conf-file.xml @@ -329,6 +329,18 @@ build-use-chroot = /dev /proc /bin + binary-caches-files + + A list of names of files that will be read to + obtain additional binary cache URLs. The default is + /nix/var/nix/profiles/per-user/root/channels/binary-caches/*, + which ensures that Nix will use the binary caches corresponding to + the channels installed by root. Do not set this option to read + files created by untrusted users! + + + + trusted-binary-caches A list of URLs of binary caches, separated by -- cgit 1.4.1