From f603dc11a63a9ae83e520955abe75d02b9591f83 Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Sat, 8 Oct 2016 00:24:10 +0200 Subject: fetch*: print a trace warning about md5 deprecation --- pkgs/build-support/fetchegg/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pkgs/build-support/fetchegg') diff --git a/pkgs/build-support/fetchegg/default.nix b/pkgs/build-support/fetchegg/default.nix index 3e0d5d566ad7..e82d4d95ac26 100644 --- a/pkgs/build-support/fetchegg/default.nix +++ b/pkgs/build-support/fetchegg/default.nix @@ -11,7 +11,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 "fetchegg" name md5) else sha256; inherit version; -- cgit 1.4.1