summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/logs/default.nix
diff options
context:
space:
mode:
authorYorick van Pelt <yorick@yorickvanpelt.nl>2019-10-31 17:16:15 +0700
committerAlexander Bantyev <balsoft75@gmail.com>2019-11-11 11:10:14 +0300
commit4550405ac974878bf2cfa7bb4137d414b5cec2f3 (patch)
tree7d78788d023a4009454026c705202fabfe0dd370 /pkgs/development/ocaml-modules/logs/default.nix
parent173bf3473cceef1f56b116f8ad43fb1262d8d4b6 (diff)
downloadnixpkgs-4550405ac974878bf2cfa7bb4137d414b5cec2f3.tar
nixpkgs-4550405ac974878bf2cfa7bb4137d414b5cec2f3.tar.gz
nixpkgs-4550405ac974878bf2cfa7bb4137d414b5cec2f3.tar.bz2
nixpkgs-4550405ac974878bf2cfa7bb4137d414b5cec2f3.tar.lz
nixpkgs-4550405ac974878bf2cfa7bb4137d414b5cec2f3.tar.xz
nixpkgs-4550405ac974878bf2cfa7bb4137d414b5cec2f3.tar.zst
nixpkgs-4550405ac974878bf2cfa7bb4137d414b5cec2f3.zip
ocaml-modules: replace buildInputs with nativeBuildInputs where appropriate
The default has been to use buildInputs for build dependencies.
This doesn't work when cross-compiling.
Diffstat (limited to 'pkgs/development/ocaml-modules/logs/default.nix')
-rw-r--r--pkgs/development/ocaml-modules/logs/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/ocaml-modules/logs/default.nix b/pkgs/development/ocaml-modules/logs/default.nix
index 15d2bde0ec6..a89f66477fa 100644
--- a/pkgs/development/ocaml-modules/logs/default.nix
+++ b/pkgs/development/ocaml-modules/logs/default.nix
@@ -18,7 +18,8 @@ stdenv.mkDerivation rec {
     sha256 = "1lkhr7i44xw4kpfbhgj3rbqy3dv5bfm4kyrbl8a9rfafddcxlwss";
   };
 
-  buildInputs = [ ocaml findlib ocamlbuild topkg fmt cmdliner lwt ];
+  nativeBuildInputs = [ ocaml findlib ocamlbuild ];
+  buildInputs = [ findlib topkg fmt cmdliner lwt ];
   propagatedBuildInputs = [ result ];
 
   buildPhase = "${topkg.run} build --with-js_of_ocaml false";