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