fetch*: print a trace warning about md5 deprecation
This commit is contained in:
committed by
Robin Gloster
parent
c6b050fd2f
commit
f603dc11a6
@@ -15,7 +15,8 @@ stdenv.mkDerivation {
|
||||
|
||||
outputHashAlgo = if md5 != null then "md5" else "sha256";
|
||||
outputHashMode = "recursive";
|
||||
outputHash = if md5 != null then md5 else sha256;
|
||||
outputHash = if md5 != null then
|
||||
(stdenv.lib.fetchMD5warn "fetchhg" url md5) else sha256;
|
||||
|
||||
inherit url rev;
|
||||
preferLocalBuild = true;
|
||||
|
||||
Reference in New Issue
Block a user