diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2024-06-05 06:56:29 +0200 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2024-06-12 06:22:30 +0200 |
commit | b206de3bfcdad680160c3ebaa69f99b67429c7a5 (patch) | |
tree | 63878f32f87770607768dcd8f0280e3e3232047f /pkgs | |
parent | b4aca0dd3239a02dc311661e567ee109d3e99da9 (diff) |
ocamlPackages.ppx_stubs: disable for OCaml ≥ 5.2
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/ocaml-modules/ppx_cstubs/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/ppx_cstubs/default.nix b/pkgs/development/ocaml-modules/ppx_cstubs/default.nix index 7cf1a0d869e34..189efc3a675dd 100644 --- a/pkgs/development/ocaml-modules/ppx_cstubs/default.nix +++ b/pkgs/development/ocaml-modules/ppx_cstubs/default.nix @@ -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"; |