fetchurl: clean up md5 references

-2
-2
pkgs/build-support/fetchurl/default.nix
··· 67 67 , # Legacy ways of specifying the hash. 68 68 outputHash ? "" 69 69 , outputHashAlgo ? "" 70 - , md5 ? "" 71 70 , sha1 ? "" 72 71 , sha256 ? "" 73 72 , sha512 ? "" ··· 125 124 if hash != "" && sha256 != "" then throw "multiple hashes passed to fetchurl" else 126 125 127 126 if hash != "" then { outputHashAlgo = null; outputHash = hash; } 128 - else if md5 != "" then throw "fetchurl does not support md5 anymore, please use sha256 or sha512" 129 127 else if (outputHash != "" && outputHashAlgo != "") then { inherit outputHashAlgo outputHash; } 130 128 else if sha512 != "" then { outputHashAlgo = "sha512"; outputHash = sha512; } 131 129 else if sha256 != "" then { outputHashAlgo = "sha256"; outputHash = sha256; }