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

Shea Levy shea at shealevy.com
Thu Dec 20 23:30:13 CET 2012


On 12/20/2012 05:28 PM, Richard Wallace wrote:
> Aha.  That should probably be mentioned in the manual under the 
> "Single-user mode" section[1] of the manual.

Already a pull request: https://github.com/NixOS/nix/pull/72 :)

>  It might also be nice if that could be autodetected by the 
> 'nix-finish-install' script and setup properly.  I was also thrown off 
> the trail because this wasn't the case with nix 1.1.
>
> [1] http://hydra.nixos.org/build/3540507/download/1/manual/#idp15104
>
>
> On Thu, Dec 20, 2012 at 2:51 PM, Eelco Dolstra 
> <eelco.dolstra at logicblox.com <mailto:eelco.dolstra at logicblox.com>> wrote:
>
>     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/`
>     <http://nixos.org/binary-cache/%60>. 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/
>     <http://nixos.org/%7Eeelco/>
>     _______________________________________________
>     nix-dev mailing list
>     nix-dev at lists.science.uu.nl <mailto:nix-dev at lists.science.uu.nl>
>     http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>
>
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20121220/2a94487a/attachment.html 


More information about the nix-dev mailing list