From f393892bb369a73ff655d7336369d43fd45f06ff Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Sat, 7 May 2022 07:29:33 +0200 Subject: [PATCH] coqPackages.smtcoq: disable for Coq > 8.13 --- pkgs/development/coq-modules/smtcoq/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/coq-modules/smtcoq/default.nix b/pkgs/development/coq-modules/smtcoq/default.nix index 416b8d1bb58..0389b45fb5c 100644 --- a/pkgs/development/coq-modules/smtcoq/default.nix +++ b/pkgs/development/coq-modules/smtcoq/default.nix @@ -9,8 +9,8 @@ mkCoqDerivation { release."itp22".sha256 = "sha256-CdPfgDfeJy8Q6ZlQeVCSR/x8ZlJ2kSEF6F5UnAespnQ="; inherit version; - defaultVersion = with versions; switch [ coq.version mathcomp.version ] [ - { cases = [ (isGe "8.13") ]; out = "itp22"; } + defaultVersion = with versions; switch coq.version [ + { case = isEq "8.13"; out = "itp22"; } ] null; propagatedBuildInputs = [ trakt cvc4 ] ++ lib.optionals (!stdenv.isDarwin) [ veriT ];