ocamlPackages.ppx_deriving: disable test with OCaml ≥ 5.0

This commit is contained in:
Vincent Laporte 2022-12-27 05:11:47 +01:00 committed by Vincent Laporte
parent bfdedc362f
commit 730e057313

View file

@ -1,6 +1,7 @@
{ lib { lib
, fetchurl , fetchurl
, buildDunePackage , buildDunePackage
, ocaml
, cppo , cppo
, ppxlib , ppxlib
, ppx_derivers , ppx_derivers
@ -51,7 +52,7 @@ buildDunePackage rec {
result result
]; ];
doCheck = true; doCheck = lib.versionOlder ocaml.version "5.0";
checkInputs = [ checkInputs = [
(if lib.versionAtLeast version "5.2" then ounit2 else ounit) (if lib.versionAtLeast version "5.2" then ounit2 else ounit)
]; ];