diff options
author | Yorick van Pelt <yorick@yorickvanpelt.nl> | 2019-10-31 17:16:15 +0700 |
---|---|---|
committer | Alexander Bantyev <balsoft75@gmail.com> | 2019-11-11 11:10:14 +0300 |
commit | 4550405ac974878bf2cfa7bb4137d414b5cec2f3 (patch) | |
tree | 7d78788d023a4009454026c705202fabfe0dd370 /pkgs/development/ocaml-modules/bos/default.nix | |
parent | 173bf3473cceef1f56b116f8ad43fb1262d8d4b6 (diff) |
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/bos/default.nix')
-rw-r--r-- | pkgs/development/ocaml-modules/bos/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/ocaml-modules/bos/default.nix b/pkgs/development/ocaml-modules/bos/default.nix index 0f168daac8c1a..6b37cf1aed3a8 100644 --- a/pkgs/development/ocaml-modules/bos/default.nix +++ b/pkgs/development/ocaml-modules/bos/default.nix @@ -10,7 +10,8 @@ stdenv.mkDerivation rec { sha256 = "1s10iqx8rgnxr5n93lf4blwirjf8nlm272yg5sipr7lsr35v49wc"; }; - buildInputs = [ ocaml findlib ocamlbuild topkg ]; + nativeBuildInputs = [ ocaml findlib ocamlbuild ]; + buildInputs = [ findlib topkg ]; propagatedBuildInputs = [ astring fmt fpath logs rresult ]; inherit (topkg) buildPhase installPhase; |