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

Sean E. Russell nix at ser1.net
Sat Jun 2 15:02:04 CEST 2007


On Saturday 02 June 2007 08:49, Marc Weber wrote:
> On Sat, Jun 02, 2007 at 08:17:20AM -0400, Sean E. Russell wrote:
> > Is there a way to tell nix-env to ignore the md5 sum check?
>
> I don't think so. Looking at src/libstore/build.cc line 1654 I can't see
> any additional option check.

Bummer.

> You can edit the nix file and comment out the line md5sum="value".

I tried that; nix seems to be caching it in a .drv file, or something.  I'm 
not sure, 

> Those checksums shouldn't change.

Well, they do.  They always do; I run into this with every packaging system 
that uses checksums, eventually -- RPM, portage, etc.

> You can also try downloading the file again.
> I think you can just use nix-prefetch-url .. to do this. (If in doubt
> delete the source file first)

Several times, before posting :-)  In addition to deleting the tarball already 
downloaded first.  I'm reluctant to simply remove the .drv file, since large 
parts of the nix system are inscrutable to me, and I'm not sure what I'll be 
breaking.

-- 
### 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