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