coqPackages.bignums: do not fail with Coq 8.5

The bignums library is part of the standard library
of Coq ≤ 8.6.
This commit is contained in:
Vincent Laporte
2017-11-13 08:42:51 +00:00
parent 469bddcd36
commit 985cfa7a8a
+3 -1
View File
@@ -18710,7 +18710,9 @@ with pkgs;
coqPackages = self;
autosubst = callPackage ../development/coq-modules/autosubst {};
bignums = callPackage ../development/coq-modules/bignums {};
bignums = if stdenv.lib.versionAtLeast coq.coq-version "8.6"
then callPackage ../development/coq-modules/bignums {}
else null;
coq-ext-lib = callPackage ../development/coq-modules/coq-ext-lib {};
coquelicot = callPackage ../development/coq-modules/coquelicot {};
dpdgraph = callPackage ../development/coq-modules/dpdgraph {};