fetch*: print a trace warning about md5 deprecation

This commit is contained in:
Michael Raskin
2016-10-09 16:19:04 +02:00
committed by Robin Gloster
parent c6b050fd2f
commit f603dc11a6
9 changed files with 23 additions and 9 deletions
+2 -1
View File
@@ -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;