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