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
+3
View File
@@ -113,4 +113,7 @@ rec {
*/
warn = msg: builtins.trace "WARNING: ${msg}";
info = msg: builtins.trace "INFO: ${msg}";
fetchMD5warn = name: context : data : warn
"Deprecated use of MD5 hash in ${name} to fetch ${context}" data;
}