Update pkgs/development/ocaml-modules/lwt/default.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Antonio Nuno Monteiro 2021-11-08 09:45:07 -08:00 committed by GitHub
parent efd2a1bb8d
commit ceebd60cef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 ];