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

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

View File

@ -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}/" ];