Unverified Commit 2367bf8b authored by Vincent Laporte's avatar Vincent Laporte
Browse files

ocamlPackages.ppx_cstruct: disable tests for OCaml ≥ 5.1

parent cf91ab54
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
{ lib, buildDunePackage, cstruct, sexplib, ppxlib
{ lib, buildDunePackage, ocaml, cstruct, sexplib, ppxlib
, ocaml-migrate-parsetree-2
, ounit, cppo, ppx_sexp_conv, cstruct-unix, cstruct-sexp
}:
@@ -15,7 +15,7 @@ else

    propagatedBuildInputs = [ cstruct ppxlib sexplib ];

    doCheck = true;
    doCheck = !lib.versionAtLeast ocaml.version "5.1";
    nativeCheckInputs = [ cppo ];
    checkInputs = [ ounit ppx_sexp_conv cstruct-sexp cstruct-unix ocaml-migrate-parsetree-2 ];
  }