Merge pull request #307997 from vbgl/ocaml-ppx_cstruct-notest

ocamlPackages.ppx_cstruct: disable tests for OCaml ≥ 5.1
This commit is contained in:
Ulrik Strid 2024-05-01 08:17:03 +02:00 committed by GitHub
commit 28496bb2c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,4 @@
{ 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 ];
}