diff --git a/pkgs/development/ocaml-modules/lwt/default.nix b/pkgs/development/ocaml-modules/lwt/default.nix index 4798cfe69c27..be15d2b72a54 100644 --- a/pkgs/development/ocaml-modules/lwt/default.nix +++ b/pkgs/development/ocaml-modules/lwt/default.nix @@ -18,8 +18,7 @@ buildDunePackage rec { }; nativeBuildInputs = [ pkg-config cppo dune-configurator ]; - buildInputs = [ ] - ++ optional (!versionAtLeast ocaml.version "4.08") ocaml-syntax-shims + buildInputs = optional (!versionAtLeast ocaml.version "4.08") ocaml-syntax-shims ++ optional (!versionAtLeast ocaml.version "4.07") ncurses; propagatedBuildInputs = [ libev mmap ocplib-endian seq result ];