diff --git a/pkgs/development/ocaml-modules/lwt/legacy.nix b/pkgs/development/ocaml-modules/lwt/legacy.nix index 53ba904f628..cd40a5051be 100644 --- a/pkgs/development/ocaml-modules/lwt/legacy.nix +++ b/pkgs/development/ocaml-modules/lwt/legacy.nix @@ -6,6 +6,7 @@ }: if !stdenv.lib.versionAtLeast ocaml.version "4" + || stdenv.lib.versionAtLeast ocaml.version "4.06" then throw "lwt is not available for OCaml ${ocaml.version}" else