ocamlPackage.ppx_deriving: fix build with ocaml 4.07

This commit is contained in:
Guillaume Girol 2022-03-01 12:00:00 +00:00 committed by Vincent Laporte
parent b2ce01a6fa
commit ecfafd9ddf

View file

@ -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.";