summary refs log tree commit diff
path: root/pkgs/build-support/fetchhg
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2016-11-30 15:14:30 +0100
committerEelco Dolstra <edolstra@gmail.com>2016-11-30 15:14:30 +0100
commite3a873479eee4e19a852011d45b0fb653f6c9e89 (patch)
treeec4b0a04175ec3b76329074c18182230a3ca7074 /pkgs/build-support/fetchhg
parentf26ff0b1bdd6875548edea50efd69698f791ae50 (diff)
downloadnixpkgs-e3a873479eee4e19a852011d45b0fb653f6c9e89.tar
nixpkgs-e3a873479eee4e19a852011d45b0fb653f6c9e89.tar.gz
nixpkgs-e3a873479eee4e19a852011d45b0fb653f6c9e89.tar.bz2
nixpkgs-e3a873479eee4e19a852011d45b0fb653f6c9e89.tar.lz
nixpkgs-e3a873479eee4e19a852011d45b0fb653f6c9e89.tar.xz
nixpkgs-e3a873479eee4e19a852011d45b0fb653f6c9e89.tar.zst
nixpkgs-e3a873479eee4e19a852011d45b0fb653f6c9e89.zip
Remove fetchMD5warn
Deprecation warnings should not be used in Nixpkgs because they spam
innocent "nix-env -qa" users with (in this case) dozens of messages
that they can't do anything about.

This also reverts commit 2ca883338389b7ab995924a0cab0211993bdf1da.
Diffstat (limited to 'pkgs/build-support/fetchhg')
-rw-r--r--pkgs/build-support/fetchhg/default.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/build-support/fetchhg/default.nix b/pkgs/build-support/fetchhg/default.nix
index b30a3556b0f..79f610166a7 100644
--- a/pkgs/build-support/fetchhg/default.nix
+++ b/pkgs/build-support/fetchhg/default.nix
@@ -15,8 +15,7 @@ stdenv.mkDerivation {
 
   outputHashAlgo = if md5 != null then "md5" else "sha256";
   outputHashMode = "recursive";
-  outputHash = if md5 != null then
-    (stdenv.lib.fetchMD5warn "fetchhg" url md5) else sha256;
+  outputHash = if md5 != null then md5 else sha256;
 
   inherit url rev;
   preferLocalBuild = true;