From 985cfa7a8ac30484efaf1fe26dd88413340a8cd9 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Mon, 13 Nov 2017 07:31:22 +0000 Subject: [PATCH] coqPackages.bignums: do not fail with Coq 8.5 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The bignums library is part of the standard library of Coq ≤ 8.6. --- pkgs/top-level/all-packages.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index de0555ad9965..5f3d82df99b2 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 {};