From c32e4e0c492821289e2b9718c7d0b5c72e9fcc9a Mon Sep 17 00:00:00 2001 From: Guillaume Girol Date: Tue, 1 Mar 2022 12:00:00 +0000 Subject: [PATCH] ocaml-ng.ocamlPackages_4_07.lwt: fix build with strictDeps --- pkgs/development/ocaml-modules/lwt/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/ocaml-modules/lwt/default.nix b/pkgs/development/ocaml-modules/lwt/default.nix index c9d5200d8768..96e3abc26746 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 ];