diff --git a/pkgs/development/ocaml-modules/notty/default.nix b/pkgs/development/ocaml-modules/notty/default.nix index 2e53944a3068..0e9de5807ff3 100644 --- a/pkgs/development/ocaml-modules/notty/default.nix +++ b/pkgs/development/ocaml-modules/notty/default.nix @@ -5,6 +5,7 @@ with lib; if versionOlder ocaml.version "4.05" +|| versionAtLeast ocaml.version "4.14" then throw "notty is not available for OCaml ${ocaml.version}" else