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:
parent
3c7aa5aa8f
commit
a8ded9d5d3
@ -23,6 +23,8 @@
|
|||||||
server admins start using the new version?
|
server admins start using the new version?
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
assert md5 != "" || sha256 != "";
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "git-export";
|
name = "git-export";
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
|
Loading…
Reference in New Issue
Block a user