summary refs log tree commit diff
path: root/pkgs/development/tools/ocaml
diff options
context:
space:
mode:
authorGuillaume Girol <symphorien+git@xlumurb.eu>2023-01-21 12:00:00 +0000
committerGuillaume Girol <symphorien+git@xlumurb.eu>2023-01-21 12:00:00 +0000
commit33afbf39f6f2a6b37e99f070ba7d17a28c416d02 (patch)
tree6431c14751da2ff638abc06b1c8e11f99315f2c3 /pkgs/development/tools/ocaml
parent25193e2732e178f701f517ca15ff802f03b29933 (diff)
downloadnixpkgs-33afbf39f6f2a6b37e99f070ba7d17a28c416d02.tar
nixpkgs-33afbf39f6f2a6b37e99f070ba7d17a28c416d02.tar.gz
nixpkgs-33afbf39f6f2a6b37e99f070ba7d17a28c416d02.tar.bz2
nixpkgs-33afbf39f6f2a6b37e99f070ba7d17a28c416d02.tar.lz
nixpkgs-33afbf39f6f2a6b37e99f070ba7d17a28c416d02.tar.xz
nixpkgs-33afbf39f6f2a6b37e99f070ba7d17a28c416d02.tar.zst
nixpkgs-33afbf39f6f2a6b37e99f070ba7d17a28c416d02.zip
treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
Diffstat (limited to 'pkgs/development/tools/ocaml')
-rw-r--r--pkgs/development/tools/ocaml/dune-release/default.nix2
-rw-r--r--pkgs/development/tools/ocaml/ocamlmod/default.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/tools/ocaml/dune-release/default.nix b/pkgs/development/tools/ocaml/dune-release/default.nix
index a2b4ddabafc..7e48203c091 100644
--- a/pkgs/development/tools/ocaml/dune-release/default.nix
+++ b/pkgs/development/tools/ocaml/dune-release/default.nix
@@ -23,7 +23,7 @@ in buildDunePackage rec {
   nativeBuildInputs = [ makeWrapper ];
   buildInputs = [ curly fmt cmdliner re opam-format opam-state opam-core
                   rresult logs odoc bos yojson astring fpath ];
-  checkInputs = [ alcotest ] ++ runtimeInputs;
+  nativeCheckInputs = [ alcotest ] ++ runtimeInputs;
   doCheck = true;
 
   postPatch = ''
diff --git a/pkgs/development/tools/ocaml/ocamlmod/default.nix b/pkgs/development/tools/ocaml/ocamlmod/default.nix
index cf24a132210..551a36adaed 100644
--- a/pkgs/development/tools/ocaml/ocamlmod/default.nix
+++ b/pkgs/development/tools/ocaml/ocamlmod/default.nix
@@ -22,7 +22,7 @@ stdenv.mkDerivation {
   installPhase   = "ocaml setup.ml -install";
 
   inherit doCheck;
-  checkInputs = [ ounit ];
+  nativeCheckInputs = [ ounit ];
 
   checkPhase = "ocaml setup.ml -test";