[Nix-dev] Checksum error then everything builds from source

Eelco Dolstra eelco.dolstra at logicblox.com
Thu Dec 20 22:51:16 CET 2012


Hi,

On 20/12/12 22:46, Richard Wallace wrote:

> Oh, that was the problem.  I checked after doing `nix-channel --update` and the
> file `~/.nix-defexpr/channels/binary-caches/nixpkgs` contained
> `http://nixos.org/binary-cache/`. But it looks like it was being ignored, for
> whatever reason.

This is because by default, Nix only looks in
/nix/var/nix/profiles/per-user/root/channels/binary-caches/* for binary cache
URLs.  So it only checks the channels added by root.  There is an option
"binary-caches-files" to overide this.

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


More information about the nix-dev mailing list