[Nix-dev] Checksum errors trying to install ghc-6.6.1

Sean E. Russell nix at ser1.net
Sun Jun 3 05:47:11 CEST 2007


On Saturday 02 June 2007 16:53, Eelco Dolstra wrote:
> Sean E. Russell wrote:
...
> > Does 'nix-env -u' cache any information about the hashcode?
>
> No, it doesn't cache anything.  However, assuming that you edited the hash
> code in a checkout of the Nixpkgs tree, then you have to tell nix-env to
> use that checkout, like
>
> $ nix-env -f /path-to-nixpkgs -u ghc

Eeee-yup.  That did it.  Thanks.

> I'm guessing that your default Nix expression for installations
> (~/.nix-defexpr) points at the channel download.

Probably.  This whole part of nix confuses me, and I really need the time to 
sit down and sort it out.  Channels, svn repos, and tigers... Oh my!

...
> > attempts kept using the old hash code.  What is the purpose of the
> > *.drv files?
>
> The *.drv files are basically a compiled form of Nix expressions, with all
...

Thanks for the overview.  That's really informative, and helpful.  Useful 
feature, that.

-- 
### SER   
### Deutsch|Esperanto|Francaise|Linux|XML|Java|Ruby|Aikido|Iaido
### http://www.ser1.net  jabber.com:ser  ICQ:83578737 
### GPG: http://www.ser1.net/Security/ser_public.gpg



More information about the nix-dev mailing list