forked from mirrors/nixpkgs
coqPackages.bignums: make it available for Coq 8.8
This commit is contained in:
parent
707a1ce0da
commit
f3c8036a70
|
@ -1,6 +1,6 @@
|
||||||
{ stdenv, fetchFromGitHub, coq }:
|
{ stdenv, fetchFromGitHub, coq }:
|
||||||
|
|
||||||
let param =
|
let params =
|
||||||
{
|
{
|
||||||
"8.6" = {
|
"8.6" = {
|
||||||
rev = "v8.6.0";
|
rev = "v8.6.0";
|
||||||
|
@ -14,7 +14,8 @@ let param =
|
||||||
rev = "V8.8+beta1";
|
rev = "V8.8+beta1";
|
||||||
sha256 = "1ymxyrvjygscxkfj3qkq66skl3vdjhb670rzvsvgmwrjkrakjnfg";
|
sha256 = "1ymxyrvjygscxkfj3qkq66skl3vdjhb670rzvsvgmwrjkrakjnfg";
|
||||||
};
|
};
|
||||||
}."${coq.coq-version}"
|
};
|
||||||
|
param = params."${coq.coq-version}"
|
||||||
; in
|
; in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -37,6 +38,6 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
compatibleCoqVersions = v: builtins.elem v [ "8.6" "8.7" ];
|
compatibleCoqVersions = v: builtins.hasAttr v params;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue