1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 12:42:24 +00:00

fetchgit: Require a content hash

Without this, the result will not be a fixed-output derivation and
won't work in general.
This commit is contained in:
Eelco Dolstra 2014-02-18 19:11:57 +01:00
parent 3c7aa5aa8f
commit a8ded9d5d3

View file

@ -23,6 +23,8 @@
server admins start using the new version?
*/
assert md5 != "" || sha256 != "";
stdenv.mkDerivation {
name = "git-export";
builder = ./builder.sh;