[Nix-dev] nix-prefetch-url and sha256sum differs

2013-04-01 Thread Bjørn Forsman
Hi, nix-prefetch-url returns a different sha256 hash than the sha256sum command. This is rather confusing. For example, I want to update lighttpd. I go to their website and see that the lighttpd-1.4.32.tar.gz should have sha256 sum

Re: [Nix-dev] nix-prefetch-url and sha256sum differs

2013-04-01 Thread Marc Weber
When I run sha256sum on the downloaded file I get the correct result: nix-hash --type sha256 [--flat] file I don't know why the output differs from the sha256sum tool. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl

Re: [Nix-dev] nix-prefetch-url and sha256sum differs

2013-04-01 Thread Bjørn Forsman
On 1 April 2013 10:19, Marc Weber marco-owe...@gmx.de wrote: When I run sha256sum on the downloaded file I get the correct result: nix-hash --type sha256 [--flat] file I don't know why the output differs from the sha256sum tool. $ nix-hash --type sha256

Re: [Nix-dev] nix-prefetch-url and sha256sum differs

2013-04-01 Thread Shea Levy
nix-prefetch-url prints out the base32 flat hash. There should be some flag to nix-hash to print base32, but it's equivalent to the hex hash. On Apr 1, 2013, at 4:42, Bjørn Forsman bjorn.fors...@gmail.com wrote: On 1 April 2013 10:19, Marc Weber marco-owe...@gmx.de wrote: When I run sha256sum

[Nix-dev] Multiple pcre in closure

2013-04-01 Thread Vladimír Čunát
Hi, I don't understand this. I found out I've got twice pcre in some closures, which boils down to the fact that gnugrep depends on one and (probably all) others on another one. Both seem to me that use the same global pcre attribute without any changes... It's really confusing to me, but we

Re: [Nix-dev] [plea for help] Problems upgrading a system that was installed in December

2013-04-01 Thread Antonio Vargas Gonzalez
Thanks for the pointers Shea, I'm currently trying your steps and will report back when successful :) -- Antonio. On 29 March 2013 21:55, Shea Levy s...@shealevy.com wrote: Hi Antonio, Go to http://hydra.nixos.org/job/nixpkgs/trunk/nixUnstable.x86_64-linux/latestand follow the

[Nix-dev] PATCH: racket: fix raco docs

2013-04-01 Thread Karn Kallio
The attached patch to the racket expression in nixpkgs corrects a failure of the documentation to build noticed by Rommel Martinez. diff --git a/pkgs/development/interpreters/racket/default.nix b/pkgs/development/interpreters/racket/default.nix index 4a67135..d0e4fee 100644 ---