about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/lwt
diff options
context:
space:
mode:
authorGuillaume Girol <symphorien+git@xlumurb.eu>2022-03-01 12:00:00 +0000
committerVincent Laporte <vbgl@users.noreply.github.com>2022-03-01 16:39:13 +0100
commitc32e4e0c492821289e2b9718c7d0b5c72e9fcc9a (patch)
treed01860983ee2c9d46f150d1c63bddc363e43b381 /pkgs/development/ocaml-modules/lwt
parentde7939d6cfbd8d47ac54deb6fbf8a8b64e15048b (diff)
ocaml-ng.ocamlPackages_4_07.lwt: fix build with strictDeps
Diffstat (limited to 'pkgs/development/ocaml-modules/lwt')
-rw-r--r--pkgs/development/ocaml-modules/lwt/default.nix4
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 ];