diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2022-12-29 06:18:28 +0100 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2023-01-05 06:31:54 +0100 |
commit | b4b8b7b0d763b481273a3e94f60dbea427d89d25 (patch) | |
tree | ebfca819a85697098953104758d09d6614fc51d8 | |
parent | 61c48e5ed13aabcffda52426a7844588e87a0e82 (diff) |
ocamlPackages.xml-light: disable for OCaml ≥ 5.0
-rw-r--r-- | pkgs/development/ocaml-modules/xml-light/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/xml-light/default.nix b/pkgs/development/ocaml-modules/xml-light/default.nix index 010d7f8e1dbf6..f91eb0b5b5cd0 100644 --- a/pkgs/development/ocaml-modules/xml-light/default.nix +++ b/pkgs/development/ocaml-modules/xml-light/default.nix @@ -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"; |