treewide: makeWrapper buildInputs to nativeBuildInputs

This commit is contained in:
Ben Siraphob
2021-02-19 20:09:16 +07:00
parent 06c2bba257
commit e03c068af5
332 changed files with 532 additions and 391 deletions
@@ -14,7 +14,8 @@ stdenv.mkDerivation (rec {
sha256 = "sha256-42hmdMwOYSWGiDCmhuqtpCWtvtyD2l+kA/bhHD/Qh5Y=";
};
buildInputs = [ ocaml makeWrapper ncurses ];
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ ocaml ncurses ];
preBuild = (if enableX11 then ''
sed -i "s|\(OCAMLOPT=.*\)$|\1 -I $(echo "${lablgtk}"/lib/ocaml/*/site-lib/lablgtk2)|" src/Makefile.OCaml