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/uchar | |
parent | 173bf3473cceef1f56b116f8ad43fb1262d8d4b6 (diff) | |
download | nixlib-4550405ac974878bf2cfa7bb4137d414b5cec2f3.tar nixlib-4550405ac974878bf2cfa7bb4137d414b5cec2f3.tar.gz nixlib-4550405ac974878bf2cfa7bb4137d414b5cec2f3.tar.bz2 nixlib-4550405ac974878bf2cfa7bb4137d414b5cec2f3.tar.lz nixlib-4550405ac974878bf2cfa7bb4137d414b5cec2f3.tar.xz nixlib-4550405ac974878bf2cfa7bb4137d414b5cec2f3.tar.zst nixlib-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/uchar')
-rw-r--r-- | pkgs/development/ocaml-modules/uchar/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/ocaml-modules/uchar/default.nix b/pkgs/development/ocaml-modules/uchar/default.nix index c943d3ce35a8..09e9dac09020 100644 --- a/pkgs/development/ocaml-modules/uchar/default.nix +++ b/pkgs/development/ocaml-modules/uchar/default.nix @@ -8,9 +8,11 @@ stdenv.mkDerivation { sha256 = "1w2saw7zanf9m9ffvz2lvcxvlm118pws2x1wym526xmydhqpyfa7"; }; - buildInputs = [ ocaml ocamlbuild findlib opaline ]; + nativeBuildInputs = [ ocaml ocamlbuild findlib opaline ]; + buildInputs = [ findlib ]; buildPhase = "ocaml pkg/build.ml native=true native-dynlink=true"; installPhase = "opaline -libdir $OCAMLFIND_DESTDIR"; + configurePlatforms = []; meta = { description = "Compatibility library for OCaml’s Uchar module"; |