ocamlPackages.gettext-stub: disable for OCaml ≥ 5.0

This commit is contained in:
Vincent Laporte 2023-11-06 06:10:53 +01:00 committed by Vincent Laporte
parent b03530d287
commit 971718f1d9

View File

@ -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";