coqPackages.dpdgraph: do not depend on camlp5 for recent versions of Coq

This commit is contained in:
Vincent Laporte 2020-10-02 22:14:24 +02:00 committed by Vincent Laporte
parent 488d73f045
commit 13126ce0a0

View File

@ -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