One trick further to what Damien wrote:

What I do: when I update a derivation, I update the name and I randomly
change the sha256. nix-build or nix-env then downloads the new release
tarball, compares the sha256s, fails, and tells me the actual sha256.

nix-prefetch-url -A package_name.src

This beats having to download the sources twice.

--
Regards,
Peter
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to