[Nix-dev] fetchgit - why sha256 protection?
Eelco Dolstra
eelco.dolstra at logicblox.com
Mon Nov 19 11:36:00 CET 2012
Hi,
On 19/11/12 11:25, Marc Weber wrote:
> Excerpts from Eelco Dolstra's message of Mon Nov 19 11:01:39 +0100 2012:
>> No, because Nix's fixed-output derivation feature requires a md5/sha1/sha256
>> hash of the expected contents.
> I know what the current implementation requires. Just wondering whether
> this should be relaxed for git (like) VCS sources, because they
> naturally have a hash.
No. "fetchgit" won't work if it's not a fixed-output derivation, because it
won't necessarily have network access (it might run in a chroot).
--
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/
More information about the nix-dev
mailing list