ocamlPackages.xml-light: disable for OCaml ≥ 5.0

This commit is contained in:
Vincent Laporte 2022-12-29 06:18:28 +01:00 committed by Vincent Laporte
parent 61c48e5ed1
commit b4b8b7b0d7

View file

@ -1,5 +1,8 @@
{ stdenv, lib, fetchFromGitHub, ocaml, findlib, gitUpdater }:
lib.throwIf (lib.versionAtLeast ocaml.version "5.0")
"xml-light is not available for OCaml ${ocaml.version}"
stdenv.mkDerivation rec {
pname = "ocaml${ocaml.version}-xml-light";
version = "2.4";