3
0
Fork 0
forked from mirrors/nixpkgs

coqPackages.paco: enable for Coq 8.10 and 8.11

This commit is contained in:
Vincent Laporte 2020-02-26 12:59:34 +01:00 committed by Vincent Laporte
parent 8b44e6b1ee
commit b01052f138

View file

@ -19,13 +19,15 @@ let
"8.7" = versions.post_8_6;
"8.8" = versions.post_8_6;
"8.9" = versions.post_8_6;
"8.10" = versions.post_8_6;
"8.11" = versions.post_8_6;
};
param = params.${coq.coq-version};
in
stdenv.mkDerivation rec {
inherit (param) version;
name = "coq-paco-${coq.coq-version}-${version}";
name = "coq${coq.coq-version}-paco-${version}";
src = fetchFromGitHub {
inherit (param) rev sha256;
@ -52,7 +54,7 @@ stdenv.mkDerivation rec {
};
passthru = {
compatibleCoqVersions = v: builtins.elem v [ "8.5" "8.6" "8.7" "8.8" "8.9" ];
compatibleCoqVersions = stdenv.lib.flip builtins.hasAttr params;
};
}