ocamlPackage.ppx_deriving: fix build with ocaml 4.07
This commit is contained in:
parent
b2ce01a6fa
commit
ecfafd9ddf
|
@ -5,6 +5,7 @@
|
||||||
, ppxlib
|
, ppxlib
|
||||||
, ppx_derivers
|
, ppx_derivers
|
||||||
, result
|
, result
|
||||||
|
, ounit
|
||||||
, ounit2
|
, ounit2
|
||||||
, ocaml-migrate-parsetree
|
, ocaml-migrate-parsetree
|
||||||
, ocaml-migrate-parsetree-2
|
, ocaml-migrate-parsetree-2
|
||||||
|
@ -51,7 +52,9 @@ buildDunePackage rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
checkInputs = [ ounit2 ];
|
checkInputs = [
|
||||||
|
(if lib.versionAtLeast version "5.2" then ounit2 else ounit)
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "deriving is a library simplifying type-driven code generation on OCaml >=4.02.";
|
description = "deriving is a library simplifying type-driven code generation on OCaml >=4.02.";
|
||||||
|
|
Loading…
Reference in a new issue