3
0
Fork 0
forked from mirrors/nixpkgs

coqPackages.mathcomp: change default version for Coq 8.10+

Fix the build of mathcomp-analysis with Coq 8.12 (by selecting a version which is compatible with HB 1.1.0).
This commit is contained in:
Théo Zimmermann 2021-08-17 15:59:06 +02:00
parent 26e1c41f93
commit 839354e312
No known key found for this signature in database
GPG key ID: F1744A0942F536C7

View file

@ -19,7 +19,7 @@ let
owner = "math-comp";
withDoc = single && (args.withDoc or false);
defaultVersion = with versions; switch coq.coq-version [
{ case = isGe "8.13"; out = "1.12.0"; } # lower version of coq to 8.10 when all mathcomp packages are ported
{ case = isGe "8.10"; out = "1.12.0"; }
{ case = range "8.7" "8.12"; out = "1.11.0"; }
{ case = range "8.7" "8.11"; out = "1.10.0"; }
{ case = range "8.7" "8.11"; out = "1.9.0"; }