diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2016-11-30 15:14:30 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2016-11-30 15:14:30 +0100 |
commit | e3a873479eee4e19a852011d45b0fb653f6c9e89 (patch) | |
tree | ec4b0a04175ec3b76329074c18182230a3ca7074 /pkgs/build-support/fetchdarcs | |
parent | f26ff0b1bdd6875548edea50efd69698f791ae50 (diff) | |
download | nixpkgs-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/fetchdarcs')
-rw-r--r-- | pkgs/build-support/fetchdarcs/default.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/build-support/fetchdarcs/default.nix b/pkgs/build-support/fetchdarcs/default.nix index ecec51590b9..3c2e0524eea 100644 --- a/pkgs/build-support/fetchdarcs/default.nix +++ b/pkgs/build-support/fetchdarcs/default.nix @@ -7,8 +7,7 @@ stdenv.mkDerivation { outputHashAlgo = if sha256 == "" then "md5" else "sha256"; outputHashMode = "recursive"; - outputHash = if sha256 == "" then - (stdenv.lib.fetchMD5warn "fetchdarcs" url md5) else sha256; + outputHash = if sha256 == "" then md5 else sha256; inherit url rev context; } |