diff options
Diffstat (limited to 'pkgs/development/coq-modules/extructures/default.nix')
-rw-r--r-- | pkgs/development/coq-modules/extructures/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/coq-modules/extructures/default.nix b/pkgs/development/coq-modules/extructures/default.nix index c34fa76f6e0..c78c6ca03fc 100644 --- a/pkgs/development/coq-modules/extructures/default.nix +++ b/pkgs/development/coq-modules/extructures/default.nix @@ -9,9 +9,9 @@ with lib; owner = "arthuraa"; inherit version; - defaultVersion = with versions; switch coq.coq-version [ - { case = range "8.11" "8.14"; out = "0.3.0"; } - { case = range "8.10" "8.12"; out = "0.2.2"; } + defaultVersion = with versions; switch [coq.coq-version ssreflect.version] [ + { cases = [(range "8.11" "8.14") (isLe "1.12.0") ]; out = "0.3.0"; } + { cases = [(range "8.10" "8.12") (isLe "1.12.0") ]; out = "0.2.2"; } ] null; releaseRev = v: "v${v}"; |