git.iko.soy/typeable/nixpkgs
on master help sign in
fetchfossil: Don't support MD5.

This effectively means that SHA256 is the only way to go. I'm not really bothered by this.

commit76b74ab2f16d49df3cf021ca645cb0243f3b2861 authorCorbin <cds@corbinsimpson.com> dateSun 21 Aug 2016, 11:52 (10 years ago) parent2d94071
1 file changed+3−3
pkgs/build-support/fetchfossil/default.nix+3−3
pkgs/build-support/fetchfossil/default.nix+3−3
@@ -1,6 +1,6 @@
11{stdenv, fossil}:
22
3−{name ? null, url, rev, md5 ? null, sha256 ? null}:
3+{name ? null, url, rev, sha256}:
44
55stdenv.mkDerivation {
66 name = "fossil-archive" + (if name != null then "-${name}" else "");
@@ -11,9 +11,9 @@ stdenv.mkDerivation {
1111 # https://www.fossil-scm.org/index.html/doc/trunk/www/env-opts.md
1212 impureEnvVars = [ "http_proxy" ];
1313
14− outputHashAlgo = if md5 != null then "md5" else "sha256";
14+ outputHashAlgo = "sha256";
1515 outputHashMode = "recursive";
16− outputHash = if md5 != null then md5 else sha256;
16+ outputHash = sha256;
1717
1818 inherit url rev;
1919 preferLocalBuild = true;