diff options
Diffstat (limited to 'pkgs/development/ocaml-modules/erm_xml/default.nix')
-rw-r--r-- | pkgs/development/ocaml-modules/erm_xml/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/ocaml-modules/erm_xml/default.nix b/pkgs/development/ocaml-modules/erm_xml/default.nix index ebf9cdaad69..d1f93f57264 100644 --- a/pkgs/development/ocaml-modules/erm_xml/default.nix +++ b/pkgs/development/ocaml-modules/erm_xml/default.nix @@ -1,6 +1,6 @@ { stdenv, lib, fetchFromGitHub, ocaml, findlib, ocamlbuild }: -if !lib.versionAtLeast ocaml.version "4.02" +if lib.versionOlder ocaml.version "4.02" then throw "erm_xml is not available for OCaml ${ocaml.version}" else |