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.
This commit is contained in:
Yorick van Pelt
2019-11-11 11:10:14 +03:00
committed by Alexander Bantyev
parent 173bf3473c
commit 4550405ac9
22 changed files with 65 additions and 31 deletions
@@ -37,7 +37,8 @@ in
inherit (param) sha256;
};
buildInputs = [ ocaml findlib ];
nativeBuildInputs = [ ocaml findlib ];
buildInputs = [ findlib ];
createFindlibDestdir = true;