You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Overwrite the binary caches list when --option binary-caches is used on the command line by the store owner #129
When an unprivileged user runs a command with --option binary-caches, the daemon puts the specified values into the untrusted-binary-caches option. If that option is defined, download-from-binary-cache.pl will clear the list of caches and only add those specified on the command line.
When a privileged user (one that doesn't need to use the daemon) specifies --option binary-caches, however, download-from-binary-cache.pl will in addition to those listed on the command line add http://nixos.org/binary-cache and caches provided by channels to the caches list (which is in particular a problem when nixos.org is down). The workaround is to specify --option untrusted-binary-caches on the command line, which is pretty unintuitive.
Activity
edolstra commentedon Jun 12, 2013
The substituter does not add http://nixos.org/binary-cache, it only adds the caches provided by the channels. This can be disabled by passing
--option binary-cache-files "". The actual bug here is thatuntrusted-binary-cacheshas the side-effect of effectlively clearingbinary-cache-files.doc/inventory: consolidate four-pass review into the catalog