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;