From a13cdfe520d87db401dd000fbd67cad728162a60 Mon Sep 17 00:00:00 2001 From: Ulrik Strid Date: Tue, 22 Feb 2022 10:59:04 +0100 Subject: ocamlPackages tree-wide: Move buildInputs that should be nativeBuildInputs To keep this for the future we also strictDeps where possible, including for janePackages, topkg, oasis and ocamlbuild. This makes some closures significantly smaller and makes cross compilation easier --- pkgs/development/ocaml-modules/piqi-ocaml/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'pkgs/development/ocaml-modules/piqi-ocaml/default.nix') diff --git a/pkgs/development/ocaml-modules/piqi-ocaml/default.nix b/pkgs/development/ocaml-modules/piqi-ocaml/default.nix index 590c001c41950..4f2e4693357f7 100644 --- a/pkgs/development/ocaml-modules/piqi-ocaml/default.nix +++ b/pkgs/development/ocaml-modules/piqi-ocaml/default.nix @@ -12,7 +12,10 @@ stdenv.mkDerivation rec { sha256 = "1913jpsb8mvqi8609j4g4sm5jhg50dq0xqxgy8nmvknfryyc89nm"; }; - buildInputs = [ ocaml findlib piqi stdlib-shims ]; + nativeBuildInputs = [ ocaml findlib ]; + buildInputs = [ piqi stdlib-shims ]; + + strictDeps = true; createFindlibDestdir = true; -- cgit 1.4.1