diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2023-07-12 05:16:57 +0200 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2023-07-17 07:47:50 +0200 |
commit | 84637a672b32d8dd311d94afefd482366114a794 (patch) | |
tree | 700040235bc74ff03f98564cd9a8f29512d486b0 /pkgs/development/coq-modules | |
parent | 5c514d49caac654f1c59f9dff4523f0b5ebf162e (diff) |
coqPackages.compcert: enable for Coq 8.17
Diffstat (limited to 'pkgs/development/coq-modules')
-rw-r--r-- | pkgs/development/coq-modules/compcert/default.nix | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/development/coq-modules/compcert/default.nix b/pkgs/development/coq-modules/compcert/default.nix index 04466a08f4968..ebb227f29279e 100644 --- a/pkgs/development/coq-modules/compcert/default.nix +++ b/pkgs/development/coq-modules/compcert/default.nix @@ -14,7 +14,7 @@ let compcert = mkCoqDerivation rec { releaseRev = v: "v${v}"; defaultVersion = with lib.versions; lib.switch coq.version [ - { case = range "8.14" "8.16"; out = "3.13"; } + { case = range "8.14" "8.17"; out = "3.13"; } { case = isEq "8.13" ; out = "3.10"; } { case = isEq "8.12" ; out = "3.9"; } { case = range "8.8" "8.11"; out = "3.8"; } @@ -154,6 +154,15 @@ compcert.overrideAttrs (o: }) ]; } + { cases = [ (isEq "8.17") (isEq "3.13") ]; + out = [ + # Support for Coq 8.17.0 & Coq 8.17.1 + (fetchpatch { + url = "https://github.com/AbsInt/CompCert/commit/030a0fafe6a1a315bb13c5276e0af536e4f713ce.patch"; + hash = "sha256-iRdmgYuun1wp6chRoDy99KKmFyvY79NGWzrltyQaW1o="; + }) + ]; + } ] []; } ) |