about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/ocplib-simplex/default.nix
diff options
context:
space:
mode:
authorUlrik Strid <ulrik.strid@outlook.com>2022-02-22 10:59:04 +0100
committerUlrik Strid <ulrik.strid@outlook.com>2022-02-24 14:39:27 +0100
commita13cdfe520d87db401dd000fbd67cad728162a60 (patch)
tree85c0d28a4d9ae9e447f2bbf026decdb0ff35d946 /pkgs/development/ocaml-modules/ocplib-simplex/default.nix
parent24102db995db84d1caa4cf24371b153c2023aeee (diff)
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
Diffstat (limited to 'pkgs/development/ocaml-modules/ocplib-simplex/default.nix')
-rw-r--r--pkgs/development/ocaml-modules/ocplib-simplex/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/ocaml-modules/ocplib-simplex/default.nix b/pkgs/development/ocaml-modules/ocplib-simplex/default.nix
index 8435d1c5e5160..474f69546d1a1 100644
--- a/pkgs/development/ocaml-modules/ocplib-simplex/default.nix
+++ b/pkgs/development/ocaml-modules/ocplib-simplex/default.nix
@@ -15,8 +15,9 @@ stdenv.mkDerivation {
     sha256 = "09niyidrjzrj8g1qwx4wgsdf5m6cwrnzg7zsgala36jliic4di60";
   };
 
-  nativeBuildInputs = [ autoreconfHook ];
-  buildInputs = [ ocaml findlib ];
+  nativeBuildInputs = [ autoreconfHook ocaml findlib ];
+
+  strictDeps = true;
 
   installFlags = [ "LIBDIR=$(OCAMLFIND_DESTDIR)" ];