about summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2023-11-06 06:10:48 +0100
committerVincent Laporte <vbgl@users.noreply.github.com>2023-11-13 05:06:51 +0100
commitb03530d28701c07e9f543b45384490f8e45f8f30 (patch)
treeaeda00e05567005498715c9628fab267cb1600d0 /pkgs/development
parent7c77641bf675856e83bf292b0e2b72e6e8dc6f8d (diff)
ocamlPackages.erm_xml: disable for OCaml ≥ 5.0
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/ocaml-modules/erm_xml/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/erm_xml/default.nix b/pkgs/development/ocaml-modules/erm_xml/default.nix
index d1f93f5726453..082f47313bd4e 100644
--- a/pkgs/development/ocaml-modules/erm_xml/default.nix
+++ b/pkgs/development/ocaml-modules/erm_xml/default.nix
@@ -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