coqPackages.zorns-lemma: fix build of versions pre-9.0

The source was fetched from the wrong location and thus did not match the provided sha.
This commit is contained in:
Théo Zimmermann 2021-10-18 12:00:54 +02:00
parent 073fe478e1
commit 290b16bfe5
No known key found for this signature in database
GPG key ID: F1744A0942F536C7

View file

@ -1,9 +1,8 @@
{ lib, mkCoqDerivation, coq, version ? null }:
with lib;
mkCoqDerivation {
(mkCoqDerivation {
pname = "zorns-lemma";
repo = "topology";
releaseRev = v: "v${v}";
@ -38,4 +37,4 @@ mkCoqDerivation {
maintainers = with maintainers; [ siraben ];
license = licenses.lgpl21Plus;
};
}
}).overrideAttrs({version, ...}: if versions.isGe "9.0" version then { repo = "topology"; } else {})