summaryrefslogtreecommitdiffstats
path: root/pkgs/development/coq-modules
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2020-10-02 22:14:02 +0200
committerVincent Laporte <vbgl@users.noreply.github.com>2020-10-09 16:32:48 +0200
commit488d73f0455cc65314a0b0cfc446ea6bd481257f (patch)
tree4f58e824f76e4e92f9813a274d68d531e0858279 /pkgs/development/coq-modules
parent56b0334bcf8d8b7c5cbeef335696f27072495917 (diff)
coqPackages.bignums: do not depend on camlp5 for recent versions of Coq
Diffstat (limited to 'pkgs/development/coq-modules')
-rw-r--r--pkgs/development/coq-modules/bignums/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/coq-modules/bignums/default.nix b/pkgs/development/coq-modules/bignums/default.nix
index 88d7e461a317..7246382c9aed 100644
--- a/pkgs/development/coq-modules/bignums/default.nix
+++ b/pkgs/development/coq-modules/bignums/default.nix
@@ -43,7 +43,9 @@ stdenv.mkDerivation {
inherit (param) rev sha256;
};
- buildInputs = with coq.ocamlPackages; [ ocaml camlp5 findlib coq ];
+ buildInputs = with coq.ocamlPackages; [ ocaml findlib coq ]
+ ++ stdenv.lib.optional (!stdenv.lib.versionAtLeast coq.coq-version "8.10") camlp5
+ ;
installFlags = [ "COQLIB=$(out)/lib/coq/${coq.coq-version}/" ];