[Nix-dev] Setting binary-cache doesn't work

Eelco Dolstra eelco.dolstra at logicblox.com
Wed Oct 10 20:52:06 CEST 2012


Hi,

On 10/10/12 14:32, Peter Simons wrote:

>   failed: binary cache ‘http://hydra.nixos.org’ is not trusted (please add
>   it to ‘trusted-binary-caches’ [http://nixos.org/binary-cache
>   http://nixos.org/binary-cache] in /etc/nix/nix.conf)

Weird.  It's strange that http://nixos.org/binary-cache is listed twice here.

>   binary-caches = http://nixos.org/binary-cache http://hydra.nixos.org

BTW, you shouldn't add hydra.nixos.org to binary-caches in nix.conf.  Our server
can't handle that.  And it slows Nix down a lot because it has to check a slow
server on every build operation.

>   trusted-binary-caches = http://nixos.org/binary-cache http://hydra.nixos.org
> 
> Just out of curiosity: how does the binary cache at
> http://nixos.org/binary-cache differ from http://hydra.nixos.org?

The former is statically served, so waaaaay faster.

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/


More information about the nix-dev mailing list