[Nix-dev] fetchgit - why sha256 protection?

Eelco Dolstra eelco.dolstra at logicblox.com
Mon Nov 19 11:01:39 CET 2012


Hi,

On 19/11/12 07:11, Marc Weber wrote:

> Isn't it enough to depend on the git's hash value, 

No, because Nix's fixed-output derivation feature requires a md5/sha1/sha256
hash of the expected contents.

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/


More information about the nix-dev mailing list