summaryrefslogtreecommitdiffstats
path: root/pkgs/development/coq-modules
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2020-10-02 22:14:24 +0200
committerVincent Laporte <vbgl@users.noreply.github.com>2020-10-09 16:32:48 +0200
commit13126ce0a06f429682287b01f0d687407672fd68 (patch)
tree8f8453ba7b8adb384873ee3202f1068ef0f84cbe /pkgs/development/coq-modules
parent488d73f0455cc65314a0b0cfc446ea6bd481257f (diff)
coqPackages.dpdgraph: do not depend on camlp5 for recent versions of Coq
Diffstat (limited to 'pkgs/development/coq-modules')
-rw-r--r--pkgs/development/coq-modules/dpdgraph/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/coq-modules/dpdgraph/default.nix b/pkgs/development/coq-modules/dpdgraph/default.nix
index 54654f37bac8..195a1c4eada5 100644
--- a/pkgs/development/coq-modules/dpdgraph/default.nix
+++ b/pkgs/development/coq-modules/dpdgraph/default.nix
@@ -53,7 +53,8 @@ stdenv.mkDerivation {
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ coq ]
- ++ (with coq.ocamlPackages; [ ocaml camlp5 findlib ocamlgraph ]);
+ ++ (with coq.ocamlPackages; [ ocaml findlib ocamlgraph ]
+ ++ stdenv.lib.optional (!stdenv.lib.versionAtLeast coq.coq-version "8.10") camlp5);
# dpd_compute.ml uses deprecated Pervasives.compare
# Versions prior to 0.6.5 do not have the WARN_ERR build flag