fetchgit: clean up md5 references

+2 -4
+2 -4
pkgs/build-support/fetchgit/default.nix
··· 11 11 in "${if matched == null then base else builtins.head matched}${appendShort}"; 12 12 in 13 13 lib.makeOverridable ( 14 - { url, rev ? "HEAD", md5 ? "", sha256 ? "", hash ? "", leaveDotGit ? deepClone 14 + { url, rev ? "HEAD", sha256 ? "", hash ? "", leaveDotGit ? deepClone 15 15 , fetchSubmodules ? true, deepClone ? false 16 16 , branchName ? null 17 17 , sparseCheckout ? [] ··· 56 56 assert deepClone -> leaveDotGit; 57 57 assert nonConeMode -> (sparseCheckout != []); 58 58 59 - if md5 != "" then 60 - throw "fetchgit does not support md5 anymore, please use sha256" 61 - else if hash != "" && sha256 != "" then 59 + if hash != "" && sha256 != "" then 62 60 throw "Only one of sha256 or hash can be set" 63 61 else if builtins.isString sparseCheckout then 64 62 # Changed to throw on 2023-06-04