about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Girol <symphorien+git@xlumurb.eu>2021-08-14 12:00:00 +0000
committerGuillaume Girol <symphorien+git@xlumurb.eu>2021-08-19 09:30:47 +0200
commit4c0020beabe366f5477935a6aed633a407425d08 (patch)
tree692b4bc50b4ad413dc4eeb40aa2c3434b1737933
parent2c35af220559ee4bae7339d55cd25f87de5f835a (diff)
downloadnixlib-4c0020beabe366f5477935a6aed633a407425d08.tar
nixlib-4c0020beabe366f5477935a6aed633a407425d08.tar.gz
nixlib-4c0020beabe366f5477935a6aed633a407425d08.tar.bz2
nixlib-4c0020beabe366f5477935a6aed633a407425d08.tar.lz
nixlib-4c0020beabe366f5477935a6aed633a407425d08.tar.xz
nixlib-4c0020beabe366f5477935a6aed633a407425d08.tar.zst
nixlib-4c0020beabe366f5477935a6aed633a407425d08.zip
ocamlPackages.findlib: fix buildInputs vs nativeBuildInputs
-rw-r--r--pkgs/development/tools/ocaml/findlib/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/tools/ocaml/findlib/default.nix b/pkgs/development/tools/ocaml/findlib/default.nix
index 2286c0945fcf..86685493d4c6 100644
--- a/pkgs/development/tools/ocaml/findlib/default.nix
+++ b/pkgs/development/tools/ocaml/findlib/default.nix
@@ -9,7 +9,8 @@ stdenv.mkDerivation rec {
     sha256 = "sha256-K0K4vVRIjWTEvzy3BUtLN70wwdwSvUMeoeTXrYqYD+I=";
   };
 
-  buildInputs = [m4 ncurses ocaml];
+  nativeBuildInputs = [m4 ocaml];
+  buildInputs = [ ncurses ];
 
   patches = [ ./ldconf.patch ./install_topfind.patch ];