ocamlPackages.erm_xml: disable for OCaml ≥ 5.0

This commit is contained in:
Vincent Laporte 2023-11-06 06:10:48 +01:00 committed by Vincent Laporte
parent 7c77641bf6
commit b03530d287

View File

@ -1,6 +1,7 @@
{ stdenv, lib, fetchFromGitHub, ocaml, findlib, ocamlbuild }:
if lib.versionOlder ocaml.version "4.02"
|| lib.versionAtLeast ocaml.version "5.0"
then throw "erm_xml is not available for OCaml ${ocaml.version}"
else