diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2023-11-06 06:10:53 +0100 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2023-11-13 05:06:51 +0100 |
commit | 971718f1d9e1534f96a5377840197a2fc9e0adf8 (patch) | |
tree | 24d38e2ca5be36b9feea8596cf1d320c806554cf /pkgs/development | |
parent | b03530d28701c07e9f543b45384490f8e45f8f30 (diff) |
ocamlPackages.gettext-stub: disable for OCaml ≥ 5.0
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/ocaml-modules/ocaml-gettext/stub.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/ocaml-modules/ocaml-gettext/stub.nix b/pkgs/development/ocaml-modules/ocaml-gettext/stub.nix index 43bd194b655bd..7c197f9e87b0f 100644 --- a/pkgs/development/ocaml-modules/ocaml-gettext/stub.nix +++ b/pkgs/development/ocaml-modules/ocaml-gettext/stub.nix @@ -1,6 +1,9 @@ { lib, buildDunePackage, ocaml, ocaml_gettext, dune-configurator, ounit }: -buildDunePackage rec { +lib.throwIf (lib.versionAtLeast ocaml.version "5.0") + "gettext-stub is not available for OCaml ${ocaml.version}" + +buildDunePackage { pname = "gettext-stub"; |