summaryrefslogtreecommitdiffstats
path: root/pkgs/development/coq-modules/dpdgraph/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/coq-modules/dpdgraph/default.nix')
-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