mavenfod: make mvnHash empty by default

This commit is contained in:
Weijia Wang 2023-06-20 09:18:20 +03:00
parent fcb1400f3e
commit b704c4f97b

View File

@ -7,8 +7,7 @@
, patches ? [ ]
, pname
, version
, mvnSha256 ? "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="
, mvnHash ? "sha256-${mvnSha256}"
, mvnHash ? ""
, mvnFetchExtraArgs ? { }
, mvnParameters ? ""
, ...
@ -41,6 +40,7 @@ stdenv.mkDerivation (rec {
# don't do any fixup
dontFixup = true;
outputHashAlgo = if mvnHash != "" then null else "sha256";
outputHashMode = "recursive";
outputHash = mvnHash;
} // mvnFetchExtraArgs);