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/fetchgit | |
parent | f26ff0b1bdd6875548edea50efd69698f791ae50 (diff) |
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/fetchgit')
-rw-r--r-- | pkgs/build-support/fetchgit/default.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/build-support/fetchgit/default.nix b/pkgs/build-support/fetchgit/default.nix index 982229cf8a5fa..e40b460d390ae 100644 --- a/pkgs/build-support/fetchgit/default.nix +++ b/pkgs/build-support/fetchgit/default.nix @@ -50,8 +50,7 @@ stdenv.mkDerivation { outputHashAlgo = if sha256 == "" then "md5" else "sha256"; outputHashMode = "recursive"; - outputHash = if sha256 == "" then - (stdenv.lib.fetchMD5warn "fetchgit" url md5) else sha256; + outputHash = if sha256 == "" then md5 else sha256; inherit url rev leaveDotGit fetchSubmodules deepClone branchName; |