diff options
author | Guillaume Girol <symphorien+git@xlumurb.eu> | 2022-03-01 12:00:00 +0000 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2022-03-01 16:39:13 +0100 |
commit | c32e4e0c492821289e2b9718c7d0b5c72e9fcc9a (patch) | |
tree | d01860983ee2c9d46f150d1c63bddc363e43b381 /pkgs/development | |
parent | de7939d6cfbd8d47ac54deb6fbf8a8b64e15048b (diff) |
ocaml-ng.ocamlPackages_4_07.lwt: fix build with strictDeps
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/ocaml-modules/lwt/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/ocaml-modules/lwt/default.nix b/pkgs/development/ocaml-modules/lwt/default.nix index c9d5200d87680..96e3abc267461 100644 --- a/pkgs/development/ocaml-modules/lwt/default.nix +++ b/pkgs/development/ocaml-modules/lwt/default.nix @@ -21,9 +21,9 @@ buildDunePackage rec { strictDeps = true; - nativeBuildInputs = [ pkg-config cppo ]; + nativeBuildInputs = [ pkg-config cppo ] + ++ optional (!versionAtLeast ocaml.version "4.08") ocaml-syntax-shims; buildInputs = [ dune-configurator ] - ++ optional (!versionAtLeast ocaml.version "4.08") ocaml-syntax-shims ++ optional (!versionAtLeast ocaml.version "4.07") ncurses; propagatedBuildInputs = [ libev mmap ocplib-endian seq result ]; |