ocamlPackages.ppx_stubs: disable for OCaml ≥ 5.2

This commit is contained in:
Vincent Laporte 2024-06-05 06:56:29 +02:00 committed by Vincent Laporte
parent b4aca0dd32
commit b206de3bfc

View File

@ -1,4 +1,5 @@
{ lib
, ocaml
, fetchFromGitHub
, buildDunePackage
, bigarray-compat
@ -12,6 +13,9 @@
, findlib
}:
lib.throwIf (lib.versionAtLeast ocaml.version "5.2")
"ppx_cstubs is not available for OCaml ${ocaml.version}"
buildDunePackage rec {
pname = "ppx_cstubs";
version = "0.7.0";