diff options
author | Guillaume Girol <symphorien+git@xlumurb.eu> | 2023-01-21 12:00:00 +0000 |
---|---|---|
committer | Guillaume Girol <symphorien+git@xlumurb.eu> | 2023-01-21 12:00:00 +0000 |
commit | 33afbf39f6f2a6b37e99f070ba7d17a28c416d02 (patch) | |
tree | 6431c14751da2ff638abc06b1c8e11f99315f2c3 /pkgs/applications | |
parent | 25193e2732e178f701f517ca15ff802f03b29933 (diff) |
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/applications')
215 files changed, 219 insertions, 219 deletions
diff --git a/pkgs/applications/audio/exaile/default.nix b/pkgs/applications/audio/exaile/default.nix index 46b1480be3820..c6000c86c6397 100644 --- a/pkgs/applications/audio/exaile/default.nix +++ b/pkgs/applications/audio/exaile/default.nix @@ -69,7 +69,7 @@ stdenv.mkDerivation rec { ++ lib.optional podcastSupport python3.pkgs.feedparser ++ lib.optional wikipediaSupport webkitgtk; - checkInputs = with python3.pkgs; [ + nativeCheckInputs = with python3.pkgs; [ pytest ]; diff --git a/pkgs/applications/audio/gpodder/default.nix b/pkgs/applications/audio/gpodder/default.nix index 6db530a2c233a..a6164189c1dbd 100644 --- a/pkgs/applications/audio/gpodder/default.nix +++ b/pkgs/applications/audio/gpodder/default.nix @@ -41,7 +41,7 @@ python3Packages.buildPythonApplication rec { gnome.adwaita-icon-theme ]; - checkInputs = with python3Packages; [ + nativeCheckInputs = with python3Packages; [ minimock pytest pytest-httpserver diff --git a/pkgs/applications/audio/midisheetmusic/default.nix b/pkgs/applications/audio/midisheetmusic/default.nix index 6a5626d98a699..0d07663d115a2 100644 --- a/pkgs/applications/audio/midisheetmusic/default.nix +++ b/pkgs/applications/audio/midisheetmusic/default.nix @@ -13,7 +13,7 @@ in stdenv.mkDerivation { sha256 = "05c6zskj50g29f51lx8fvgzsi3f31z01zj6ssjjrgr7jfs7ak70p"; }; - checkInputs = (with dotnetPackages; [ NUnitConsole ]); + nativeCheckInputs = (with dotnetPackages; [ NUnitConsole ]); nativeBuildInputs = [ mono makeWrapper ]; buildPhase = '' diff --git a/pkgs/applications/audio/mmlgui/default.nix b/pkgs/applications/audio/mmlgui/default.nix index bf343e101c962..90a86b0dfec67 100644 --- a/pkgs/applications/audio/mmlgui/default.nix +++ b/pkgs/applications/audio/mmlgui/default.nix @@ -51,7 +51,7 @@ stdenv.mkDerivation rec { Cocoa ]; - checkInputs = [ + nativeCheckInputs = [ cppunit ]; diff --git a/pkgs/applications/audio/mopidy/local.nix b/pkgs/applications/audio/mopidy/local.nix index 717d61a92ecff..c72fec06cdd7e 100644 --- a/pkgs/applications/audio/mopidy/local.nix +++ b/pkgs/applications/audio/mopidy/local.nix @@ -28,7 +28,7 @@ python3Packages.buildPythonApplication rec { python3Packages.uritools ]; - checkInputs = [ + nativeCheckInputs = [ python3Packages.pytestCheckHook ]; diff --git a/pkgs/applications/audio/mopidy/podcast.nix b/pkgs/applications/audio/mopidy/podcast.nix index 8a5c4ec2b3d63..7aacc2f7befe1 100644 --- a/pkgs/applications/audio/mopidy/podcast.nix +++ b/pkgs/applications/audio/mopidy/podcast.nix @@ -16,7 +16,7 @@ python3Packages.buildPythonApplication rec { python3Packages.uritools ]; - checkInputs = with python3Packages; [ + nativeCheckInputs = with python3Packages; [ pytestCheckHook ]; diff --git a/pkgs/applications/audio/mopidy/subidy.nix b/pkgs/applications/audio/mopidy/subidy.nix index 98d69816b73f0..b84a14106fdca 100644 --- a/pkgs/applications/audio/mopidy/subidy.nix +++ b/pkgs/applications/audio/mopidy/subidy.nix @@ -13,7 +13,7 @@ pythonPackages.buildPythonApplication rec { propagatedBuildInputs = [ mopidy pythonPackages.py-sonic ]; - checkInputs = with pythonPackages; [ pytestCheckHook ]; + nativeCheckInputs = with pythonPackages; [ pytestCheckHook ]; meta = with lib; { homepage = "https://www.mopidy.com/"; diff --git a/pkgs/applications/audio/mopidy/tidal.nix b/pkgs/applications/audio/mopidy/tidal.nix index 1264e5963a907..b470e0489e90d 100644 --- a/pkgs/applications/audio/mopidy/tidal.nix +++ b/pkgs/applications/audio/mopidy/tidal.nix @@ -17,7 +17,7 @@ python3Packages.buildPythonApplication rec { python3Packages.tidalapi ]; - checkInputs = with python3Packages; [ + nativeCheckInputs = with python3Packages; [ pytestCheckHook pytest-mock ]; diff --git a/pkgs/applications/audio/mopidy/youtube.nix b/pkgs/applications/audio/mopidy/youtube.nix index 5110d6ace93f6..99eec8187082b 100644 --- a/pkgs/applications/audio/mopidy/youtube.nix +++ b/pkgs/applications/audio/mopidy/youtube.nix @@ -27,7 +27,7 @@ python3.pkgs.buildPythonApplication rec { mopidy ]; - checkInputs = with python3.pkgs; [ + nativeCheckInputs = with python3.pkgs; [ vcrpy pytestCheckHook ]; diff --git a/pkgs/applications/audio/opustags/default.nix b/pkgs/applications/audio/opustags/default.nix index 83cf44853a5a5..357799a11226c 100644 --- a/pkgs/applications/audio/opustags/default.nix +++ b/pkgs/applications/audio/opustags/default.nix @@ -18,7 +18,7 @@ stdenv.mkDerivation rec { doCheck = true; - checkInputs = [ ffmpeg glibcLocales perl ] ++ (with perlPackages; [ ListMoreUtils ]); + nativeCheckInputs = [ ffmpeg glibcLocales perl ] ++ (with perlPackages; [ ListMoreUtils ]); checkPhase = '' export LANG="en_US.UTF-8" diff --git a/pkgs/applications/audio/quodlibet/default.nix b/pkgs/applications/audio/quodlibet/default.nix index b57f4a4986cec..f0dc71aa47757 100644 --- a/pkgs/applications/audio/quodlibet/default.nix +++ b/pkgs/applications/audio/quodlibet/default.nix @@ -119,7 +119,7 @@ python3.pkgs.buildPythonApplication rec { LC_ALL = "en_US.UTF-8"; - checkInputs = [ + nativeCheckInputs = [ dbus gdk-pixbuf glibcLocales diff --git a/pkgs/applications/audio/r128gain/default.nix b/pkgs/applications/audio/r128gain/default.nix index c02ee512669ae..8cf6871a76b48 100644 --- a/pkgs/applications/audio/r128gain/default.nix +++ b/pkgs/applications/audio/r128gain/default.nix @@ -26,7 +26,7 @@ python3Packages.buildPythonApplication rec { ]; propagatedBuildInputs = with python3Packages; [ crcmod ffmpeg-python mutagen tqdm ]; - checkInputs = with python3Packages; [ requests sox ]; + nativeCheckInputs = with python3Packages; [ requests sox ]; # Testing downloads media files for testing, which requires the # sandbox to be disabled. diff --git a/pkgs/applications/audio/radiotray-ng/default.nix b/pkgs/applications/audio/radiotray-ng/default.nix index 178b637978353..1d638c01f2055 100644 --- a/pkgs/applications/audio/radiotray-ng/default.nix +++ b/pkgs/applications/audio/radiotray-ng/default.nix @@ -80,7 +80,7 @@ stdenv.mkDerivation rec { "-DBUILD_TESTS=${if doCheck then "ON" else "OFF"}" ]; - checkInputs = [ gtest ]; + nativeCheckInputs = [ gtest ]; doCheck = !stdenv.isAarch64; # single failure that I can't explain preFixup = '' diff --git a/pkgs/applications/audio/rhythmbox/default.nix b/pkgs/applications/audio/rhythmbox/default.nix index 853613c9a5f59..fe9f4a835c84c 100644 --- a/pkgs/applications/audio/rhythmbox/default.nix +++ b/pkgs/applications/audio/rhythmbox/default.nix @@ -87,7 +87,7 @@ stdenv.mkDerivation rec { libnotify ] ++ gst_plugins; - checkInputs = [ + nativeCheckInputs = [ check ]; diff --git a/pkgs/applications/audio/sonic-pi/default.nix b/pkgs/applications/audio/sonic-pi/default.nix index 1f5bb36a51443..8d10b2f2a34bd 100644 --- a/pkgs/applications/audio/sonic-pi/default.nix +++ b/pkgs/applications/audio/sonic-pi/default.nix @@ -92,7 +92,7 @@ stdenv.mkDerivation rec { fmt ]; - checkInputs = [ + nativeCheckInputs = [ parallel ruby supercollider-with-sc3-plugins diff --git a/pkgs/applications/audio/soundconverter/default.nix b/pkgs/applications/audio/soundconverter/default.nix index c0966e9ab3fdc..208d50a2773c2 100644 --- a/pkgs/applications/audio/soundconverter/default.nix +++ b/pkgs/applications/audio/soundconverter/default.nix @@ -37,7 +37,7 @@ python3Packages.buildPythonApplication rec { python3Packages.pygobject3 ]; - checkInputs = [ + nativeCheckInputs = [ xvfb-run ]; diff --git a/pkgs/applications/audio/sublime-music/default.nix b/pkgs/applications/audio/sublime-music/default.nix index 2386708c552cd..cedad6ef17e77 100644 --- a/pkgs/applications/audio/sublime-music/default.nix +++ b/pkgs/applications/audio/sublime-music/default.nix @@ -73,7 +73,7 @@ python3Packages.buildPythonApplication rec { # https://github.com/NixOS/nixpkgs/issues/56943 strictDeps = false; - checkInputs = with python3Packages; [ + nativeCheckInputs = with python3Packages; [ pytest ]; diff --git a/pkgs/applications/audio/whipper/default.nix b/pkgs/applications/audio/whipper/default.nix index e3c4b45224897..e92b2f13187e4 100644 --- a/pkgs/applications/audio/whipper/default.nix +++ b/pkgs/applications/audio/whipper/default.nix @@ -56,7 +56,7 @@ in python3.pkgs.buildPythonApplication rec { buildInputs = [ libsndfile ]; - checkInputs = with python3.pkgs; [ + nativeCheckInputs = with python3.pkgs; [ twisted ] ++ bins; diff --git a/pkgs/applications/audio/zynaddsubfx/default.nix b/pkgs/applications/audio/zynaddsubfx/default.nix index fae337c079f00..2c8ecfd199e07 100644 --- a/pkgs/applications/audio/zynaddsubfx/default.nix +++ b/pkgs/applications/audio/zynaddsubfx/default.nix @@ -95,7 +95,7 @@ in stdenv.mkDerivation rec { ++ lib.optional (guiModule == "fltk") "-DFLTK_SKIP_OPENGL=ON"; doCheck = true; - checkInputs = [ cxxtest ruby ]; + nativeCheckInputs = [ cxxtest ruby ]; # TODO: Update cmake hook to make it simpler to selectively disable cmake tests: #113829 checkPhase = let diff --git a/pkgs/applications/backup/unifi-protect-backup/default.nix b/pkgs/applications/backup/unifi-protect-backup/default.nix index d1610516f6f63..36f554761f08c 100644 --- a/pkgs/applications/backup/unifi-protect-backup/default.nix +++ b/pkgs/applications/backup/unifi-protect-backup/default.nix @@ -40,7 +40,7 @@ python3.pkgs.buildPythonApplication rec { pyunifiprotect ]; - checkInputs = with python3.pkgs; [ + nativeCheckInputs = with python3.pkgs; [ pytestCheckHook ]; diff --git a/pkgs/applications/backup/vorta/default.nix b/pkgs/applications/backup/vorta/default.nix index ad55ef1ab8c8d..3fa8e1816f801 100644 --- a/pkgs/applications/backup/vorta/default.nix +++ b/pkgs/applications/backup/vorta/default.nix @@ -52,7 +52,7 @@ python3Packages.buildPythonApplication rec { ) ''; - checkInputs = with python3Packages; [ + nativeCheckInputs = with python3Packages; [ pytest-qt pytest-mock pytestCheckHook diff --git a/pkgs/applications/blockchains/bitcoin-knots/default.nix b/pkgs/applications/blockchains/bitcoin-knots/default.nix index ca998248a6c58..ae64247a8be2d 100644 --- a/pkgs/applications/blockchains/bitcoin-knots/default.nix +++ b/pkgs/applications/blockchains/bitcoin-knots/default.nix @@ -57,7 +57,7 @@ stdenv.mkDerivation rec { "--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin" ]; - checkInputs = [ python3 ]; + nativeCheckInputs = [ python3 ]; doCheck = true; diff --git a/pkgs/applications/blockchains/bitcoin/default.nix b/pkgs/applications/blockchains/bitcoin/default.nix index 1c698927303ca..de5ce51d06545 100644 --- a/pkgs/applications/blockchains/bitcoin/default.nix +++ b/pkgs/applications/blockchains/bitcoin/default.nix @@ -73,7 +73,7 @@ stdenv.mkDerivation rec { "--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin" ]; - checkInputs = [ python3 ]; + nativeCheckInputs = [ python3 ]; doCheck = true; diff --git a/pkgs/applications/blockchains/chia-dev-tools/default.nix b/pkgs/applications/blockchains/chia-dev-tools/default.nix index 1b40e6ddb041f..d65eb37f3985f 100644 --- a/pkgs/applications/blockchains/chia-dev-tools/default.nix +++ b/pkgs/applications/blockchains/chia-dev-tools/default.nix @@ -40,7 +40,7 @@ python3Packages.buildPythonApplication rec { pytimeparse ]; - checkInputs = with python3Packages; [ + nativeCheckInputs = with python3Packages; [ pytestCheckHook pytest-asyncio ]; diff --git a/pkgs/applications/blockchains/chia/default.nix b/pkgs/applications/blockchains/chia/default.nix index bae0fc7988d9a..99fe1595def1c 100644 --- a/pkgs/applications/blockchains/chia/default.nix +++ b/pkgs/applications/blockchains/chia/default.nix @@ -64,7 +64,7 @@ let chia = python3Packages.buildPythonApplication rec { zstd ]; - checkInputs = with python3Packages; [ + nativeCheckInputs = with python3Packages; [ pytestCheckHook ]; diff --git a/pkgs/applications/blockchains/elements/default.nix b/pkgs/applications/blockchains/elements/default.nix index 1c02076c570dc..0ffaa4c83c01d 100644 --- a/pkgs/applications/blockchains/elements/default.nix +++ b/pkgs/applications/blockchains/elements/default.nix @@ -62,7 +62,7 @@ stdenv.mkDerivation rec { # https://github.com/NixOS/nixpkgs/issues/179474 hardeningDisable = lib.optionals (stdenv.isAarch64 && stdenv.isDarwin) [ "fortify" "stackprotector" ]; - checkInputs = [ python3 ]; + nativeCheckInputs = [ python3 ]; doCheck = true; diff --git a/pkgs/applications/blockchains/groestlcoin/default.nix b/pkgs/applications/blockchains/groestlcoin/default.nix index 36001a8d6dfba..bcc25cf2460ac 100644 --- a/pkgs/applications/blockchains/groestlcoin/default.nix +++ b/pkgs/applications/blockchains/groestlcoin/default.nix @@ -67,7 +67,7 @@ stdenv.mkDerivation rec { "--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin" ]; - checkInputs = [ python3 ]; + nativeCheckInputs = [ python3 ]; checkFlags = [ "LC_ALL=en_US.UTF-8" ] # QT_PLUGIN_PATH needs to be set when executing QT, which is needed when testing Groestlcoin's GUI. diff --git a/pkgs/applications/blockchains/lighthouse/default.nix b/pkgs/applications/blockchains/lighthouse/default.nix index afc9c44f01d51..7a5607d01c5e5 100644 --- a/pkgs/applications/blockchains/lighthouse/default.nix +++ b/pkgs/applications/blockchains/lighthouse/default.nix @@ -87,7 +87,7 @@ rustPlatform.buildRustPackage rec { "--skip subnet_service::tests::sync_committee_service::subscribe_and_unsubscribe" ]; - checkInputs = [ + nativeCheckInputs = [ nodePackages.ganache ]; diff --git a/pkgs/applications/blockchains/solana/default.nix b/pkgs/applications/blockchains/solana/default.nix index a91d1f3905348..4886720218638 100644 --- a/pkgs/applications/blockchains/solana/default.nix +++ b/pkgs/applications/blockchains/solana/default.nix @@ -38,7 +38,7 @@ rustPlatform.buildRustPackage rec { doCheck = false; # all the following are needed for the checkphase - # checkInputs = lib.optionals stdenv.isDarwin [ pkg-config rustfmt ]; + # nativeCheckInputs = lib.optionals stdenv.isDarwin [ pkg-config rustfmt ]; # Needed to get openssl-sys to use pkg-config. # OPENSSL_NO_VENDOR = 1; # OPENSSL_LIB_DIR = "${lib.getLib openssl}/lib"; diff --git a/pkgs/applications/editors/gnome-builder/default.nix b/pkgs/applications/editors/gnome-builder/default.nix index bacc629448bc1..337370a6ddb7a 100644 --- a/pkgs/applications/editors/gnome-builder/default.nix +++ b/pkgs/applications/editors/gnome-builder/default.nix @@ -104,7 +104,7 @@ stdenv.mkDerivation rec { webkitgtk_5_0 ]; - checkInputs = [ + nativeCheckInputs = [ dbus xvfb-run ]; diff --git a/pkgs/applications/editors/neovim/default.nix b/pkgs/applications/editors/neovim/default.nix index f9da81efb49ae..23734f3f23cd6 100644 --- a/pkgs/applications/editors/neovim/default.nix +++ b/pkgs/applications/editors/neovim/default.nix @@ -96,7 +96,7 @@ in ]; # extra programs test via `make functionaltest` - checkInputs = [ + nativeCheckInputs = [ fish nodejs pyEnv # for src/clint.py diff --git a/pkgs/applications/editors/neovim/neovim-remote.nix b/pkgs/applications/editors/neovim/neovim-remote.nix index 6cfcec8f1f7b3..0f3c2359aab16 100644 --- a/pkgs/applications/editors/neovim/neovim-remote.nix +++ b/pkgs/applications/editors/neovim/neovim-remote.nix @@ -30,7 +30,7 @@ with python3.pkgs; buildPythonApplication rec { setuptools ]; - checkInputs = [ + nativeCheckInputs = [ neovim pytestCheckHook ]; diff --git a/pkgs/applications/editors/poke/default.nix b/pkgs/applications/editors/poke/default.nix index bcc959bc200a8..8f4bcfd672634 100644 --- a/pkgs/applications/editors/poke/default.nix +++ b/pkgs/applications/editors/poke/default.nix @@ -73,7 +73,7 @@ in stdenv.mkDerivation rec { enableParallelBuilding = true; doCheck = !isCross; - checkInputs = lib.optionals (!isCross) [ dejagnu ]; + nativeCheckInputs = lib.optionals (!isCross) [ dejagnu ]; postInstall = '' moveToOutput share/emacs "$out" diff --git a/pkgs/applications/file-managers/felix-fm/default.nix b/pkgs/applications/file-managers/felix-fm/default.nix index 03e3ed9e5d6bc..3a20726b9b428 100644 --- a/pkgs/applications/file-managers/felix-fm/default.nix +++ b/pkgs/applications/file-managers/felix-fm/default.nix @@ -27,7 +27,7 @@ rustPlatform.buildRustPackage rec { zstd ]; - checkInputs = [ zoxide ]; + nativeCheckInputs = [ zoxide ]; buildFeatures = [ "zstd/pkg-config" ]; diff --git a/pkgs/applications/file-managers/ranger/default.nix b/pkgs/applications/file-managers/ranger/default.nix index 95f85430ba0b5..a192edb0b32aa 100644 --- a/pkgs/applications/file-managers/ranger/default.nix +++ b/pkgs/applications/file-managers/ranger/default.nix @@ -18,7 +18,7 @@ python3Packages.buildPythonApplication rec { LC_ALL = "en_US.UTF-8"; - checkInputs = with python3Packages; [ pytestCheckHook ]; + nativeCheckInputs = with python3Packages; [ pytestCheckHook ]; propagatedBuildInputs = [ less file diff --git a/pkgs/applications/finance/odoo/default.nix b/pkgs/applications/finance/odoo/default.nix index 9ae2d97a3d288..51aa407b04a4a 100644 --- a/pkgs/applications/finance/odoo/default.nix +++ b/pkgs/applications/finance/odoo/default.nix @@ -51,7 +51,7 @@ let inherit version; sha256 = "6c80b1e5ad3665290ea39320b91e1be1e0d5f60652b964a3070216de83d2e47c"; }; - checkInputs = old.checkInputs ++ (with self; [ + nativeCheckInputs = old.nativeCheckInputs ++ (with self; [ requests ]); disabledTests = old.disabledTests ++ [ diff --git a/pkgs/applications/graphics/cq-editor/default.nix b/pkgs/applications/graphics/cq-editor/default.nix index bb157ad18db03..f63b3b1709c04 100644 --- a/pkgs/applications/graphics/cq-editor/default.nix +++ b/pkgs/applications/graphics/cq-editor/default.nix @@ -37,7 +37,7 @@ mkDerivationWith python3Packages.buildPythonApplication rec { makeWrapperArgs+=("''${qtWrapperArgs[@]}") ''; - checkInputs = with python3Packages; [ + nativeCheckInputs = with python3Packages; [ pytest pytest-xvfb pytest-mock diff --git a/pkgs/applications/graphics/dosage/default.nix b/pkgs/applications/graphics/dosage/default.nix index e5e77dccbbb42..b03073349f3f4 100644 --- a/pkgs/applications/graphics/dosage/default.nix +++ b/pkgs/applications/graphics/dosage/default.nix @@ -9,7 +9,7 @@ python3Packages.buildPythonApplication rec { sha256 = "0vmxgn9wd3j80hp4gr5iq06jrl4gryz5zgfdd2ah30d12sfcfig0"; }; - checkInputs = with python3Packages; [ + nativeCheckInputs = with python3Packages; [ pytestCheckHook pytest-xdist responses ]; diff --git a/pkgs/applications/graphics/feh/default.nix b/pkgs/applications/graphics/feh/default.nix index 70f83e9a2f2cf..428ddc5073dae 100644 --- a/pkgs/applications/graphics/feh/default.nix +++ b/pkgs/applications/graphics/feh/default.nix @@ -37,7 +37,7 @@ stdenv.mkDerivation rec { --add-flags '--theme=feh' ''; - checkInputs = lib.singleton (perl.withPackages (p: [ p.TestCommand ])); + nativeCheckInputs = lib.singleton (perl.withPackages (p: [ p.TestCommand ])); doCheck = true; meta = with lib; { diff --git a/pkgs/applications/graphics/gscan2pdf/default.nix b/pkgs/applications/graphics/gscan2pdf/default.nix index fc686ad1f2120..4c3685f62de59 100644 --- a/pkgs/applications/graphics/gscan2pdf/default.nix +++ b/pkgs/applications/graphics/gscan2pdf/default.nix @@ -89,7 +89,7 @@ perlPackages.buildPerlPackage rec { outputs = [ "out" "man" ]; - checkInputs = [ + nativeCheckInputs = [ imagemagick libtiff djvulibre diff --git a/pkgs/applications/graphics/hydrus/default.nix b/pkgs/applications/graphics/hydrus/default.nix index 2bce94d52d814..6a31bfd0280da 100644 --- a/pkgs/applications/graphics/hydrus/default.nix +++ b/pkgs/applications/graphics/hydrus/default.nix @@ -51,7 +51,7 @@ python3Packages.buildPythonPackage rec { twisted ]; - checkInputs = with python3Packages; [ + nativeCheckInputs = with python3Packages; [ nose mock httmock diff --git a/pkgs/applications/graphics/inkscape/extensions/applytransforms/default.nix b/pkgs/applications/graphics/inkscape/extensions/applytransforms/default.nix index f1bac3dd76c46..ceab3eaea3d9a 100644 --- a/pkgs/applications/graphics/inkscape/extensions/applytransforms/default.nix +++ b/pkgs/applications/graphics/inkscape/extensions/applytransforms/default.nix @@ -15,7 +15,7 @@ stdenv.mkDerivation { sha256 = "XWwkuw+Um/cflRWjIeIgQUxJLrk2DLDmx7K+pMWvIlI="; }; - checkInputs = [ + nativeCheckInputs = [ python3.pkgs.inkex python3.pkgs.pytestCheckHook ]; diff --git a/pkgs/applications/graphics/mypaint/default.nix b/pkgs/applications/graphics/mypaint/default.nix index 7f1ba67acce6a..48cc00d008e94 100644 --- a/pkgs/applications/graphics/mypaint/default.nix +++ b/pkgs/applications/graphics/mypaint/default.nix @@ -74,7 +74,7 @@ in buildPythonApplication rec { pygobject3 ]; - checkInputs = [ + nativeCheckInputs = [ gtk3 ]; diff --git a/pkgs/applications/misc/ablog/default.nix b/pkgs/applications/misc/ablog/default.nix index e578caad529b4..2b9e88067d587 100644 --- a/pkgs/applications/misc/ablog/default.nix +++ b/pkgs/applications/misc/ablog/default.nix @@ -21,7 +21,7 @@ buildPythonApplication rec { python-dateutil ]; - checkInputs = [ + nativeCheckInputs = [ pytestCheckHook ]; diff --git a/pkgs/applications/misc/buku/default.nix b/pkgs/applications/misc/buku/default.nix index 702440c32b5eb..249288c77c160 100644 --- a/pkgs/applications/misc/buku/default.nix +++ b/pkgs/applications/misc/buku/default.nix @@ -28,7 +28,7 @@ with python3.pkgs; buildPythonApplication rec { sha256 = "sha256-7piJK1hz9h6EWiU/q5MAS1PSvHFxnW7rZBKxq+wda1c="; }; - checkInputs = [ + nativeCheckInputs = [ hypothesis pytest pytest-vcr diff --git a/pkgs/applications/misc/cobang/default.nix b/pkgs/applications/misc/cobang/default.nix index 1401a7a8df282..55bca8aa80585 100644 --- a/pkgs/applications/misc/cobang/default.nix +++ b/pkgs/applications/misc/cobang/default.nix @@ -67,7 +67,7 @@ buildPythonApplication rec { pango ]; - checkInputs = [ + nativeCheckInputs = [ pytestCheckHook ]; diff --git a/pkgs/applications/misc/coursera-dl/default.nix b/pkgs/applications/misc/coursera-dl/default.nix index 13386699ecbf1..343848e673db5 100644 --- a/pkgs/applications/misc/coursera-dl/default.nix +++ b/pkgs/applications/misc/coursera-dl/default.nix @@ -20,7 +20,7 @@ in pythonPackages.buildPythonApplication rec { propagatedBuildInputs = with pythonPackages; [ attrs beautifulsoup4 configargparse keyring pyasn1 requests six urllib3 ]; - checkInputs = with pythonPackages; [ pytest mock ]; + nativeCheckInputs = with pythonPackages; [ pytest mock ]; postPatch = '' substituteInPlace requirements.txt \ diff --git a/pkgs/applications/misc/databricks-sql-cli/default.nix b/pkgs/applications/misc/databricks-sql-cli/default.nix index 61191374b6ea7..be798894ba861 100644 --- a/pkgs/applications/misc/databricks-sql-cli/default.nix +++ b/pkgs/applications/misc/databricks-sql-cli/default.nix @@ -53,7 +53,7 @@ buildPythonApplication rec { click ]; - checkInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ pytestCheckHook ]; meta = with lib; { description = "CLI for querying Databricks SQL"; diff --git a/pkgs/applications/misc/dbx/default.nix b/pkgs/applications/misc/dbx/default.nix index 517b24597a898..cbcebae31237f 100644 --- a/pkgs/applications/misc/dbx/default.nix +++ b/pkgs/applications/misc/dbx/default.nix @@ -34,7 +34,7 @@ python3.pkgs.buildPythonApplication rec { watchdog ] ++ typer.optional-dependencies.all; - checkInputs = [ + nativeCheckInputs = [ git ] ++ (with python3.pkgs; [ pytest-asyncio diff --git a/pkgs/applications/misc/dotfiles/default.nix b/pkgs/applications/misc/dotfiles/default.nix index b62d154feb15d..86a6cebc27c0e 100644 --- a/pkgs/applications/misc/dotfiles/default.nix +++ b/pkgs/applications/misc/dotfiles/default.nix @@ -12,7 +12,7 @@ python3Packages.buildPythonApplication rec { # No tests in archive doCheck = false; - checkInputs = with python3Packages; [ pytest ]; + nativeCheckInputs = with python3Packages; [ pytest ]; propagatedBuildInputs = with python3Packages; [ click ]; meta = with lib; { diff --git a/pkgs/applications/misc/dupeguru/default.nix b/pkgs/applications/misc/dupeguru/default.nix index 60a26b7088240..c485375137ea8 100644 --- a/pkgs/applications/misc/dupeguru/default.nix +++ b/pkgs/applications/misc/dupeguru/default.nix @@ -34,7 +34,7 @@ python3Packages.buildPythonApplication rec { "NO_VENV=1" ]; - checkInputs = with python3Packages; [ + nativeCheckInputs = with python3Packages; [ pytestCheckHook ]; preCheck = '' diff --git a/pkgs/applications/misc/electron-cash/default.nix b/pkgs/applications/misc/electron-cash/default.nix index 452c1edc99f81..0644471c5fa89 100644 --- a/pkgs/applications/misc/electron-cash/default.nix +++ b/pkgs/applications/misc/electron-cash/default.nix @@ -55,7 +55,7 @@ python3Packages.buildPythonApplication rec { --replace "(share_dir" "(\"share\"" ''; - checkInputs = with python3Packages; [ pytest ]; + nativeCheckInputs = with python3Packages; [ pytest ]; checkPhase = '' unset HOME diff --git a/pkgs/applications/misc/electrum/default.nix b/pkgs/applications/misc/electrum/default.nix index f4e6ad3feb3c9..40b4569d11f51 100644 --- a/pkgs/applications/misc/electrum/default.nix +++ b/pkgs/applications/misc/electrum/default.nix @@ -117,7 +117,7 @@ python3.pkgs.buildPythonApplication { wrapQtApp $out/bin/electrum ''; - checkInputs = with python3.pkgs; [ pytestCheckHook pyaes pycryptodomex ]; + nativeCheckInputs = with python3.pkgs; [ pytestCheckHook pyaes pycryptodomex ]; pytestFlagsArray = [ "electrum/tests" ]; diff --git a/pkgs/applications/misc/electrum/ltc.nix b/pkgs/applications/misc/electrum/ltc.nix index 5029581ac85d3..abb88796ddd0e 100644 --- a/pkgs/applications/misc/electrum/ltc.nix +++ b/pkgs/applications/misc/electrum/ltc.nix @@ -109,7 +109,7 @@ python3.pkgs.buildPythonApplication { wrapQtApp $out/bin/electrum-ltc ''; - checkInputs = with python3.pkgs; [ pytestCheckHook pyaes pycryptodomex ]; + nativeCheckInputs = with python3.pkgs; [ pytestCheckHook pyaes pycryptodomex ]; pytestFlagsArray = [ "electrum_ltc/tests" ]; diff --git a/pkgs/applications/misc/feedbackd/default.nix b/pkgs/applications/misc/feedbackd/default.nix index b2c5dfe2ccfea..781bdfcb90f23 100644 --- a/pkgs/applications/misc/feedbackd/default.nix +++ b/pkgs/applications/misc/feedbackd/default.nix @@ -71,7 +71,7 @@ stdenv.mkDerivation rec { "-Dintrospection=${if (stdenv.buildPlatform == stdenv.hostPlatform) then "enabled" else "disabled"}" ]; - checkInputs = [ + nativeCheckInputs = [ dbus ]; diff --git a/pkgs/applications/misc/gallery-dl/default.nix b/pkgs/applications/misc/gallery-dl/default.nix index 41dab24db3538..883ebc7970538 100644 --- a/pkgs/applications/misc/gallery-dl/default.nix +++ b/pkgs/applications/misc/gallery-dl/default.nix @@ -16,7 +16,7 @@ buildPythonApplication rec { yt-dlp ]; - checkInputs = [ + nativeCheckInputs = [ pytestCheckHook ]; diff --git a/pkgs/applications/misc/girara/default.nix b/pkgs/applications/misc/girara/default.nix index 591f26abbc725..841aeca58969a 100644 --- a/pkgs/applications/misc/girara/default.nix +++ b/pkgs/applications/misc/girara/default.nix @@ -15,7 +15,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ meson ninja pkg-config gettext check dbus ]; buildInputs = [ libintl libiconv json_c ]; propagatedBuildInputs = [ glib gtk ]; - checkInputs = [ xvfb-run ]; + nativeCheckInputs = [ xvfb-run ]; doCheck = !stdenv.isDarwin; diff --git a/pkgs/applications/misc/gpsbabel/default.nix b/pkgs/applications/misc/gpsbabel/default.nix index d7ba62f28c5f5..888672b5fa013 100644 --- a/pkgs/applications/misc/gpsbabel/default.nix +++ b/pkgs/applications/misc/gpsbabel/default.nix @@ -47,7 +47,7 @@ stdenv.mkDerivation rec { ++ lib.optional withGUI qtserialport ++ lib.optional (withGUI && withMapPreview) qtwebengine; - checkInputs = [ libxml2 which ]; + nativeCheckInputs = [ libxml2 which ]; preConfigure = lib.optionalString withGUI '' lrelease gui/*.ts gui/coretool/*.ts diff --git a/pkgs/applications/misc/gsctl/default.nix b/pkgs/applications/misc/gsctl/default.nix index a225c15a4d014..73bc11d4940d7 100644 --- a/pkgs/applications/misc/gsctl/default.nix +++ b/pkgs/applications/misc/gsctl/default.nix @@ -18,7 +18,7 @@ buildGoModule rec { "-X github.com/giantswarm/gsctl/buildinfo.Version=${version}" ]; - checkInputs = [ + nativeCheckInputs = [ kubectl ]; diff --git a/pkgs/applications/misc/haxor-news/default.nix b/pkgs/applications/misc/haxor-news/default.nix index 695706cefc5b8..aa9b530dee302 100644 --- a/pkgs/applications/misc/haxor-news/default.nix +++ b/pkgs/applications/misc/haxor-news/default.nix @@ -52,7 +52,7 @@ buildPythonApplication rec { # will fail without pre-seeded config files doCheck = false; - checkInputs = [ unittestCheckHook mock ]; + nativeCheckInputs = [ unittestCheckHook mock ]; unittestFlagsArray = [ "-s" "tests" "-v" ]; diff --git a/pkgs/applications/misc/hovercraft/default.nix b/pkgs/applications/misc/hovercraft/default.nix index 5a03cfe23bacc..ccb597db62d0c 100644 --- a/pkgs/applications/misc/hovercraft/default.nix +++ b/pkgs/applications/misc/hovercraft/default.nix @@ -23,7 +23,7 @@ buildPythonApplication rec { sha256 = "0k0gjlqjz424rymcfdjpj6a71ppblfls5f8y2hd800d1as4im8az"; }; - checkInputs = [ manuel ]; + nativeCheckInputs = [ manuel ]; propagatedBuildInputs = [ setuptools docutils lxml svg-path pygments watchdog ]; meta = with lib; { diff --git a/pkgs/applications/misc/html5validator/default.nix b/pkgs/applications/misc/html5validator/default.nix index 657996d1da9f5..71ba3dcf100ad 100644 --- a/pkgs/applications/misc/html5validator/default.nix +++ b/pkgs/applications/misc/html5validator/default.nix @@ -13,7 +13,7 @@ buildPythonApplication rec { propagatedBuildInputs = [ openjdk ]; - checkInputs = [ nose ]; + nativeCheckInputs = [ nose ]; checkPhase = "PATH=$PATH:$out/bin nosetests"; meta = with lib; { diff --git a/pkgs/applications/misc/imag/default.nix b/pkgs/applications/misc/imag/default.nix index acc03f59a7018..d923dc9bfedbd 100644 --- a/pkgs/applications/misc/imag/default.nix +++ b/pkgs/applications/misc/imag/default.nix @@ -24,7 +24,7 @@ rustPlatform.buildRustPackage rec { nativeBuildInputs = [ installShellFiles pkg-config rustPlatform.bindgenHook ]; buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security; - checkInputs = [ gitMinimal util-linuxMinimal ]; + nativeCheckInputs = [ gitMinimal util-linuxMinimal ]; cargoSha256 = "1vnrc72g2271i2p847z30kplxmdpi60n3dzpw0s7dahg33g14ai6"; diff --git a/pkgs/applications/misc/jiten/default.nix b/pkgs/applications/misc/jiten/default.nix index efd28fabae3af..7a3326bc8d9eb 100644 --- a/pkgs/applications/misc/jiten/default.nix +++ b/pkgs/applications/misc/jiten/default.nix @@ -30,7 +30,7 @@ python3.pkgs.buildPythonApplication rec { nativeBuildInputs = [ makeWrapper ]; buildInputs = [ pcre sqlite ]; propagatedBuildInputs = with python3.pkgs; [ click flask kanjidraw ]; - checkInputs = [ nodejs ]; + nativeCheckInputs = [ nodejs ]; preBuild = '' export JITEN_VERSION=${version} # override `git describe` diff --git a/pkgs/applications/misc/jrnl/default.nix b/pkgs/applications/misc/jrnl/default.nix index ba9f69eb6627c..985ce9c1d1658 100644 --- a/pkgs/applications/misc/jrnl/default.nix +++ b/pkgs/applications/misc/jrnl/default.nix @@ -35,7 +35,7 @@ python3.pkgs.buildPythonApplication rec { rich ]; - checkInputs = with python3.pkgs; [ + nativeCheckInputs = with python3.pkgs; [ pytest-bdd pytest-xdist pytestCheckHook diff --git a/pkgs/applications/misc/keepmenu/default.nix b/pkgs/applications/misc/keepmenu/default.nix index d169e19a19a5e..8cdbd69912d02 100644 --- a/pkgs/applications/misc/keepmenu/default.nix +++ b/pkgs/applications/misc/keepmenu/default.nix @@ -20,7 +20,7 @@ python3Packages.buildPythonApplication rec { pynput ]; - checkInputs = [ xvfb-run ]; + nativeCheckInputs = [ xvfb-run ]; checkPhase = '' xvfb-run python setup.py test ''; diff --git a/pkgs/applications/misc/khal/default.nix b/pkgs/applications/misc/khal/default.nix index 1a2184833a7d0..18952865eb84c 100644 --- a/pkgs/applications/misc/khal/default.nix +++ b/pkgs/applications/misc/khal/default.nix @@ -47,7 +47,7 @@ python3.pkgs.buildPythonApplication rec { urwid ]; - checkInputs = with python3.pkgs;[ + nativeCheckInputs = with python3.pkgs;[ freezegun hypothesis packaging diff --git a/pkgs/applications/misc/kiwix/lib.nix b/pkgs/applications/misc/kiwix/lib.nix index 84fede08f31b6..144d83f6c1509 100644 --- a/pkgs/applications/misc/kiwix/lib.nix +++ b/pkgs/applications/misc/kiwix/lib.nix @@ -42,7 +42,7 @@ stdenv.mkDerivation rec { pugixml ]; - checkInputs = [ + nativeCheckInputs = [ gtest ]; diff --git a/pkgs/applications/misc/lutris/default.nix b/pkgs/applications/misc/lutris/default.nix index c67ec4cc2737f..d476024553ba3 100644 --- a/pkgs/applications/misc/lutris/default.nix +++ b/pkgs/applications/misc/lutris/default.nix @@ -123,7 +123,7 @@ buildPythonApplication rec { --replace "'libmagic.so.1'" "'${lib.getLib file}/lib/libmagic.so.1'" ''; - checkInputs = [ xvfb-run nose2 flake8 ] ++ requiredTools; + nativeCheckInputs = [ xvfb-run nose2 flake8 ] ++ requiredTools; checkPhase = '' runHook preCheck diff --git a/pkgs/applications/misc/makeself/default.nix b/pkgs/applications/misc/makeself/default.nix index 342700e678213..bd197395e8514 100644 --- a/pkgs/applications/misc/makeself/default.nix +++ b/pkgs/applications/misc/makeself/default.nix @@ -19,7 +19,7 @@ stdenv.mkDerivation rec { # when running these tests inside build, based on free disk space. doCheck = false; checkTarget = "test"; - checkInputs = [ which zstd pbzip2 ]; + nativeCheckInputs = [ which zstd pbzip2 ]; installPhase = '' mkdir -p $out/{bin,share/{${pname}-${version},man/man1}} diff --git a/pkgs/applications/misc/mbutil/default.nix b/pkgs/applications/misc/mbutil/default.nix index b108d1a5647e9..69b61afaee557 100644 --- a/pkgs/applications/misc/mbutil/default.nix +++ b/pkgs/applications/misc/mbutil/default.nix @@ -11,7 +11,7 @@ buildPythonApplication rec { sha256 = "06d62r89h026asaa4ryzb23m86j0cmbvy54kf4zl5f35sgiha45z"; }; - checkInputs = [ nose ]; + nativeCheckInputs = [ nose ]; checkPhase = "nosetests"; meta = with lib; { diff --git a/pkgs/applications/misc/meerk40t/default.nix b/pkgs/applications/misc/meerk40t/default.nix index 276cf79988370..a3b5b591f6ead 100644 --- a/pkgs/applications/misc/meerk40t/default.nix +++ b/pkgs/applications/misc/meerk40t/default.nix @@ -46,7 +46,7 @@ buildPythonApplication rec { makeWrapperArgs+=("''${gappsWrapperArgs[@]}") ''; - checkInputs = with python3.pkgs; [ + nativeCheckInputs = with python3.pkgs; [ unittestCheckHook ]; diff --git a/pkgs/applications/misc/minigalaxy/default.nix b/pkgs/applications/misc/minigalaxy/default.nix index c33e0d6a576c9..743c92407e799 100644 --- a/pkgs/applications/misc/minigalaxy/default.nix +++ b/pkgs/applications/misc/minigalaxy/default.nix @@ -46,7 +46,7 @@ python3Packages.buildPythonApplication rec { gtk3 ]; - checkInputs = with python3Packages; [ + nativeCheckInputs = with python3Packages; [ glibcLocales pytest tox diff --git a/pkgs/applications/misc/mnamer/default.nix b/pkgs/applications/misc/mnamer/default.nix index cad389bf0b9eb..e928e631c07ca 100644 --- a/pkgs/applications/misc/mnamer/default.nix +++ b/pkgs/applications/misc/mnamer/default.nix @@ -28,7 +28,7 @@ python3Packages.buildPythonApplication rec { ./update_hack.patch ]; - checkInputs = [ python3Packages.pytestCheckHook ]; + nativeCheckInputs = [ python3Packages.pytestCheckHook ]; # disable test that fail (networking, etc) disabledTests = [ diff --git a/pkgs/applications/misc/mozphab/default.nix b/pkgs/applications/misc/mozphab/default.nix index d78d880c2e1d7..82cf9b3d9515c 100644 --- a/pkgs/applications/misc/mozphab/default.nix +++ b/pkgs/applications/misc/mozphab/default.nix @@ -34,7 +34,7 @@ python3.pkgs.buildPythonApplication rec { setuptools ]; - checkInputs = [ + nativeCheckInputs = [ git mercurial patch diff --git a/pkgs/applications/misc/mu-repo/default.nix b/pkgs/applications/misc/mu-repo/default.nix index 9da761c5884f0..ff07856e0e8d8 100644 --- a/pkgs/applications/misc/mu-repo/default.nix +++ b/pkgs/applications/misc/mu-repo/default.nix @@ -13,7 +13,7 @@ buildPythonApplication rec { propagatedBuildInputs = [ git ]; - checkInputs = [ pytestCheckHook git ]; + nativeCheckInputs = [ pytestCheckHook git ]; passthru.tests.version = testers.testVersion { package = mu-repo; diff --git a/pkgs/applications/misc/octoprint/default.nix b/pkgs/applications/misc/octoprint/default.nix index 46d513a36bbf3..89260c09f7893 100644 --- a/pkgs/applications/misc/octoprint/default.nix +++ b/pkgs/applications/misc/octoprint/default.nix @@ -136,7 +136,7 @@ let py.pkgs.appdirs ]; - checkInputs = with self; [ + nativeCheckInputs = with self; [ ddt mock pytestCheckHook diff --git a/pkgs/applications/misc/onboard/default.nix b/pkgs/applications/misc/onboard/default.nix index fba1c0b0f5f81..472af0caf484e 100644 --- a/pkgs/applications/misc/onboard/default.nix +++ b/pkgs/applications/misc/onboard/default.nix @@ -93,7 +93,7 @@ python3.pkgs.buildPythonApplication rec { dconf ]; - checkInputs = [ + nativeCheckInputs = [ # for Onboard.SpellChecker.aspell_cmd doctests (aspellWithDicts (dicts: with dicts; [ en ])) diff --git a/pkgs/applications/misc/openlp/lib.nix b/pkgs/applications/misc/openlp/lib.nix index 9e8440a4c8066..4a61ab65376db 100644 --- a/pkgs/applications/misc/openlp/lib.nix +++ b/pkgs/applications/misc/openlp/lib.nix @@ -30,7 +30,7 @@ buildPythonPackage rec { # # See also https://discourse.nixos.org/t/qt-plugin-path-unset-in-test-phase/ - #checkInputs = [ mock nose ]; + #nativeCheckInputs = [ mock nose ]; nativeBuildInputs = [ qt5.qttools ]; propagatedBuildInputs = [ alembic diff --git a/pkgs/applications/misc/pass-secret-service/default.nix b/pkgs/applications/misc/pass-secret-service/default.nix index d7ac4fa21e752..225f59274b1dd 100644 --- a/pkgs/applications/misc/pass-secret-service/default.nix +++ b/pkgs/applications/misc/pass-secret-service/default.nix @@ -50,7 +50,7 @@ python3.pkgs.buildPythonApplication rec { secretstorage ]; - checkInputs = + nativeCheckInputs = let ps = python3.pkgs; in diff --git a/pkgs/applications/misc/plover/default.nix b/pkgs/applications/misc/plover/default.nix index eadd7672bec5d..3f4e82d2e4d9d 100644 --- a/pkgs/applications/misc/plover/default.nix +++ b/pkgs/applications/misc/plover/default.nix @@ -25,7 +25,7 @@ # sed on many of the platforms Plover builds for postPatch = "sed -i /PyQt5/d setup.cfg"; - checkInputs = [ pytest mock ]; + nativeCheckInputs = [ pytest mock ]; propagatedBuildInputs = [ babel pyqt5 xlib pyserial appdirs wcwidth setuptools ]; dontWrapQtApps = true; diff --git a/pkgs/applications/misc/privacyidea/default.nix b/pkgs/applications/misc/privacyidea/default.nix index 8ec18a8748637..b45854a6d180f 100644 --- a/pkgs/applications/misc/privacyidea/default.nix +++ b/pkgs/applications/misc/privacyidea/default.nix @@ -32,7 +32,7 @@ let inherit version; sha256 = "6c80b1e5ad3665290ea39320b91e1be1e0d5f60652b964a3070216de83d2e47c"; }; - checkInputs = old.checkInputs ++ (with self; [ + nativeCheckInputs = old.nativeCheckInputs ++ (with self; [ requests ]); doCheck = false; @@ -81,7 +81,7 @@ let # however `click-7` is needed by the older flask we need here. Since it's just # for the test-suite apparently, let's skip it for now. Mako = super.Mako.overridePythonAttrs (lib.const { - checkInputs = []; + nativeCheckInputs = []; doCheck = false; }); }; @@ -119,7 +119,7 @@ python3'.pkgs.buildPythonPackage rec { passthru.tests = { inherit (nixosTests) privacyidea; }; - checkInputs = with python3'.pkgs; [ openssl mock pytestCheckHook responses testfixtures ]; + nativeCheckInputs = with python3'.pkgs; [ openssl mock pytestCheckHook responses testfixtures ]; preCheck = "export HOME=$(mktemp -d)"; postCheck = "unset HOME"; disabledTests = [ diff --git a/pkgs/applications/misc/prusa-slicer/default.nix b/pkgs/applications/misc/prusa-slicer/default.nix index 697d1a096e1a3..14a0d4453a25c 100644 --- a/pkgs/applications/misc/prusa-slicer/default.nix +++ b/pkgs/applications/misc/prusa-slicer/default.nix @@ -82,7 +82,7 @@ stdenv.mkDerivation rec { xorg.libX11 ] ++ lib.optionals withSystemd [ systemd - ] ++ checkInputs; + ] ++ nativeCheckInputs; patches = [ # Fix detection of TBB, see https://github.com/prusa3d/PrusaSlicer/issues/6355 @@ -103,7 +103,7 @@ stdenv.mkDerivation rec { ]; doCheck = true; - checkInputs = [ gtest ]; + nativeCheckInputs = [ gtest ]; separateDebugInfo = true; diff --git a/pkgs/applications/misc/pyditz/cerberus.nix b/pkgs/applications/misc/pyditz/cerberus.nix index 0e473c6a1ba10..4da032bafeee7 100644 --- a/pkgs/applications/misc/pyditz/cerberus.nix +++ b/pkgs/applications/misc/pyditz/cerberus.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { sha256 = "1pxzr8sfm2hc5s96m9k044i44nwkva70n0ypr6a35v73zn891cx5"; }; - checkInputs = [ pytest-runner pytest ]; + nativeCheckInputs = [ pytest-runner pytest ]; meta = with lib; { homepage = "http://python-cerberus.org/"; diff --git a/pkgs/applications/misc/pyditz/default.nix b/pkgs/applications/misc/pyditz/default.nix index d986c13b84b3a..fe3bf0c521153 100644 --- a/pkgs/applications/misc/pyditz/default.nix +++ b/pkgs/applications/misc/pyditz/default.nix @@ -15,7 +15,7 @@ in buildPythonApplication rec { nativeBuildInputs = [ setuptools-scm ]; propagatedBuildInputs = [ pyyaml six jinja2 cerberus_1_1 ]; - checkInputs = [ unittestCheckHook ]; + nativeCheckInputs = [ unittestCheckHook ]; meta = with lib; { homepage = "https://pythonhosted.org/pyditz/"; diff --git a/pkgs/applications/misc/pytrainer/default.nix b/pkgs/applications/misc/pytrainer/default.nix index 675df5d5ba3ed..f51f53e9b72d2 100644 --- a/pkgs/applications/misc/pytrainer/default.nix +++ b/pkgs/applications/misc/pytrainer/default.nix @@ -63,7 +63,7 @@ in python.pkgs.buildPythonApplication rec { "--prefix" "PATH" ":" (lib.makeBinPath [ perl gpsbabel ]) ]; - checkInputs = [ + nativeCheckInputs = [ glibcLocales perl xvfb-run diff --git a/pkgs/applications/misc/sigal/default.nix b/pkgs/applications/misc/sigal/default.nix index fb0a19dbb44a0..5bf957ec7c1b8 100644 --- a/pkgs/applications/misc/sigal/default.nix +++ b/pkgs/applications/misc/sigal/default.nix @@ -34,7 +34,7 @@ python3.pkgs.buildPythonApplication rec { setuptools # needs pkg_resources ]; - checkInputs = [ + nativeCheckInputs = [ ffmpeg ] ++ (with python3.pkgs; [ pytestCheckHook diff --git a/pkgs/applications/misc/slides/default.nix b/pkgs/applications/misc/slides/default.nix index cedd870173130..c6c73115eb69a 100644 --- a/pkgs/applications/misc/slides/default.nix +++ b/pkgs/applications/misc/slides/default.nix @@ -16,7 +16,7 @@ buildGoModule rec { sha256 = "sha256-K8VsqaNUPxh3/Yddy6DFiOyjRuZ6r6bU456Pm31A1og="; }; - checkInputs = [ + nativeCheckInputs = [ bash go ]; diff --git a/pkgs/applications/misc/streamdeck-ui/default.nix b/pkgs/applications/misc/streamdeck-ui/default.nix index f91c7e7b32db1..21ac1939f4e9d 100644 --- a/pkgs/applications/misc/streamdeck-ui/default.nix +++ b/pkgs/applications/misc/streamdeck-ui/default.nix @@ -79,7 +79,7 @@ python3Packages.buildPythonApplication rec { xlib ]; - checkInputs = [ + nativeCheckInputs = [ xvfb-run python3Packages.pytest python3Packages.hypothesis-auto diff --git a/pkgs/applications/misc/tandoor-recipes/default.nix b/pkgs/applications/misc/tandoor-recipes/default.nix index 767d0c768ded0..a15b0a4ab7cb2 100644 --- a/pkgs/applications/misc/tandoor-recipes/default.nix +++ b/pkgs/applications/misc/tandoor-recipes/default.nix @@ -118,7 +118,7 @@ python.pkgs.pythonPackages.buildPythonPackage rec { runHook postInstall ''; - checkInputs = with python.pkgs; [ + nativeCheckInputs = with python.pkgs; [ pytestCheckHook pytest-django pytest-factoryboy diff --git a/pkgs/applications/misc/tippecanoe/default.nix b/pkgs/applications/misc/tippecanoe/default.nix index f896d4c698b5a..c7e98282cdcb1 100644 --- a/pkgs/applications/misc/tippecanoe/default.nix +++ b/pkgs/applications/misc/tippecanoe/default.nix @@ -12,7 +12,7 @@ stdenv.mkDerivation (finalAttrs: { }; buildInputs = [ sqlite zlib ]; - checkInputs = [ perl ]; + nativeCheckInputs = [ perl ]; makeFlags = [ "PREFIX=$(out)" ]; diff --git a/pkgs/applications/misc/toot/default.nix b/pkgs/applications/misc/toot/default.nix index 91427c7cbb258..6f6151d1ea295 100644 --- a/pkgs/applications/misc/toot/default.nix +++ b/pkgs/applications/misc/toot/default.nix @@ -11,7 +11,7 @@ python3Packages.buildPythonApplication rec { sha256 = "sha256-qZk42zGHWpeN5rZPFw7xAmDIvhPzqTePU3If+p/L98c="; }; - checkInputs = with python3Packages; [ pytest ]; + nativeCheckInputs = with python3Packages; [ pytest ]; propagatedBuildInputs = with python3Packages; [ requests beautifulsoup4 future wcwidth urwid psycopg2 ]; diff --git a/pkgs/applications/misc/topydo/default.nix b/pkgs/applications/misc/topydo/default.nix index 7667b4103d48c..a20e3e2650f1f 100644 --- a/pkgs/applications/misc/topydo/default.nix +++ b/pkgs/applications/misc/topydo/default.nix @@ -22,7 +22,7 @@ buildPythonApplication rec { watchdog ]; - checkInputs = [ unittestCheckHook mock freezegun pylint ]; + nativeCheckInputs = [ unittestCheckHook mock freezegun pylint ]; # Skip test that has been reported multiple times upstream without result: # bram85/topydo#271, bram85/topydo#274. diff --git a/pkgs/applications/misc/tuhi/default.nix b/pkgs/applications/misc/tuhi/default.nix index 4cc925d3bf955..641723016a8a6 100644 --- a/pkgs/applications/misc/tuhi/default.nix +++ b/pkgs/applications/misc/tuhi/default.nix @@ -39,7 +39,7 @@ python3Packages.buildPythonApplication rec { gtk3 gobject-introspection glib ]; - checkInputs = with python3Packages; [ flake8 pytest ]; + nativeCheckInputs = with python3Packages; [ flake8 pytest ]; propagatedBuildInputs = with python3Packages; [ svgwrite pyxdg pycairo pygobject3 setuptools-scm ]; diff --git a/pkgs/applications/misc/tuir/default.nix b/pkgs/applications/misc/tuir/default.nix index fb1a85b1e4910..d4188829d40ba 100644 --- a/pkgs/applications/misc/tuir/default.nix +++ b/pkgs/applications/misc/tuir/default.nix @@ -19,7 +19,7 @@ buildPythonApplication rec { py.test ''; - checkInputs = [ coverage coveralls docopt mock pylint pytest vcrpy ]; + nativeCheckInputs = [ coverage coveralls docopt mock pylint pytest vcrpy ]; propagatedBuildInputs = [ beautifulsoup4 decorator kitchen requests six ]; diff --git a/pkgs/applications/misc/udiskie/default.nix b/pkgs/applications/misc/udiskie/default.nix index d5d4b766e7752..91ad479f450e1 100644 --- a/pkgs/applications/misc/udiskie/default.nix +++ b/pkgs/applications/misc/udiskie/default.nix @@ -70,7 +70,7 @@ python3.pkgs.buildPythonApplication rec { makeWrapperArgs+=("''${gappsWrapperArgs[@]}") ''; - checkInputs = with python3.pkgs; [ + nativeCheckInputs = with python3.pkgs; [ pytestCheckHook ]; diff --git a/pkgs/applications/misc/ulauncher/default.nix b/pkgs/applications/misc/ulauncher/default.nix index a67ba0eff7001..527db967b9742 100644 --- a/pkgs/applications/misc/ulauncher/default.nix +++ b/pkgs/applications/misc/ulauncher/default.nix @@ -62,7 +62,7 @@ python3Packages.buildPythonApplication rec { websocket-client ]; - checkInputs = with python3Packages; [ + nativeCheckInputs = with python3Packages; [ mock pytest pytest-mock diff --git a/pkgs/applications/misc/visidata/default.nix b/pkgs/applications/misc/visidata/default.nix index 36a7285b3d25d..6e9909d38a1dd 100644 --- a/pkgs/applications/misc/visidata/default.nix +++ b/pkgs/applications/misc/visidata/default.nix @@ -71,7 +71,7 @@ buildPythonApplication rec { ] ++ lib.optionals withPcap [ dpkt dnslib ] ++ lib.optional withXclip xclip; - checkInputs = [ + nativeCheckInputs = [ git ]; diff --git a/pkgs/applications/misc/vit/default.nix b/pkgs/applications/misc/vit/default.nix index 890a69f3b1616..529c809806dac 100644 --- a/pkgs/applications/misc/vit/default.nix +++ b/pkgs/applications/misc/vit/default.nix @@ -21,7 +21,7 @@ buildPythonApplication rec { urwid ]; - checkInputs = [ glibcLocales ]; + nativeCheckInputs = [ glibcLocales ]; makeWrapperArgs = [ "--suffix" "PATH" ":" "${taskwarrior}/bin" ]; diff --git a/pkgs/applications/misc/waybar/default.nix b/pkgs/applications/misc/waybar/default.nix index 64c9c13d8c282..d22c9a9088168 100644 --- a/pkgs/applications/misc/waybar/default.nix +++ b/pkgs/applications/misc/waybar/default.nix @@ -74,7 +74,7 @@ stdenv.mkDerivation rec { ++ optional upowerSupport upower ++ optional wireplumberSupport wireplumber; - checkInputs = [ catch2_3 ]; + nativeCheckInputs = [ catch2_3 ]; doCheck = runTests; mesonFlags = (lib.mapAttrsToList diff --git a/pkgs/applications/networking/browsers/webmacs/default.nix b/pkgs/applications/networking/browsers/webmacs/default.nix index 7dbb6a3c53887..de3c1cfdcdba8 100644 --- a/pkgs/applications/networking/browsers/webmacs/default.nix +++ b/pkgs/applications/networking/browsers/webmacs/default.nix @@ -27,7 +27,7 @@ mkDerivationWith python3Packages.buildPythonApplication rec { pygments ]; - checkInputs = [ + nativeCheckInputs = [ python3Packages.pytest #python3Packages.pytest-xvfb #python3Packages.pytest-qt diff --git a/pkgs/applications/networking/calls/default.nix b/pkgs/applications/networking/calls/default.nix index ab81254c710fe..3657a1e38e7f8 100644 --- a/pkgs/applications/networking/calls/default.nix +++ b/pkgs/applications/networking/calls/default.nix @@ -79,7 +79,7 @@ stdenv.mkDerivation rec { sofia_sip ]; - checkInputs = [ + nativeCheckInputs = [ dbus xvfb-run ]; diff --git a/pkgs/applications/networking/cloudflare-dyndns/default.nix b/pkgs/applications/networking/cloudflare-dyndns/default.nix index c1a9309ca4f70..7f11ec257038b 100644 --- a/pkgs/applications/networking/cloudflare-dyndns/default.nix +++ b/pkgs/applications/networking/cloudflare-dyndns/default.nix @@ -28,7 +28,7 @@ python3.pkgs.buildPythonApplication rec { requests ]; - checkInputs = with python3.pkgs; [ + nativeCheckInputs = with python3.pkgs; [ pytestCheckHook ]; diff --git a/pkgs/applications/networking/cluster/terraform-compliance/default.nix b/pkgs/applications/networking/cluster/terraform-compliance/default.nix index 590abb80acef0..c10b43e1f8b8e 100644 --- a/pkgs/applications/networking/cluster/terraform-compliance/default.nix +++ b/pkgs/applications/networking/cluster/terraform-compliance/default.nix @@ -35,7 +35,7 @@ python3.pkgs.buildPythonApplication rec { semver ]; - checkInputs = with python3.pkgs; [ + nativeCheckInputs = with python3.pkgs; [ pytestCheckHook ]; diff --git a/pkgs/applications/networking/compactor/default.nix b/pkgs/applications/networking/compactor/default.nix index f13d3d321a150..2229ed38bfc44 100644 --- a/pkgs/applications/networking/compactor/default.nix +++ b/pkgs/applications/networking/compactor/default.nix @@ -50,7 +50,7 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; doCheck = !stdenv.isDarwin; # check-dnstap.sh failing on Darwin - checkInputs = [ + nativeCheckInputs = [ cbor-diag cddl diffutils diff --git a/pkgs/applications/networking/dyndns/dyndnsc/default.nix b/pkgs/applications/networking/dyndns/dyndnsc/default.nix index 07854f48fcc6f..5ee8db44cc7cc 100644 --- a/pkgs/applications/networking/dyndns/dyndnsc/default.nix +++ b/pkgs/applications/networking/dyndns/dyndnsc/default.nix @@ -22,7 +22,7 @@ python3Packages.buildPythonApplication rec { json-logging setuptools ]; - checkInputs = with python3Packages; [ bottle mock pytest-console-scripts pytestCheckHook ]; + nativeCheckInputs = with python3Packages; [ bottle mock pytest-console-scripts pytestCheckHook ]; disabledTests = [ # dnswanip connects to an external server to discover the diff --git a/pkgs/applications/networking/errbot/default.nix b/pkgs/applications/networking/errbot/default.nix index 032238d399d1b..54d0b862b891c 100644 --- a/pkgs/applications/networking/errbot/default.nix +++ b/pkgs/applications/networking/errbot/default.nix @@ -44,7 +44,7 @@ in python3.pkgs.buildPythonApplication rec { webtest ]; - checkInputs = with python3.pkgs; [ + nativeCheckInputs = with python3.pkgs; [ mock pytestCheckHook ]; diff --git a/pkgs/applications/networking/feedreaders/rss2email/default.nix b/pkgs/applications/networking/feedreaders/rss2email/default.nix index 08dcc091b9076..132fe7f627cce 100644 --- a/pkgs/applications/networking/feedreaders/rss2email/default.nix +++ b/pkgs/applications/networking/feedreaders/rss2email/default.nix @@ -7,7 +7,7 @@ buildPythonApplication rec { version = "3.14"; propagatedBuildInputs = [ feedparser html2text ]; - checkInputs = [ beautifulsoup4 ]; + nativeCheckInputs = [ beautifulsoup4 ]; src = fetchurl { url = "mirror://pypi/r/rss2email/${pname}-${version}.tar.gz"; diff --git a/pkgs/applications/networking/feedreaders/rsstail/default.nix b/pkgs/applications/networking/feedreaders/rsstail/default.nix index cd020e2bd7df3..1cd83cda77a96 100644 --- a/pkgs/applications/networking/feedreaders/rsstail/default.nix +++ b/pkgs/applications/networking/feedreaders/rsstail/default.nix @@ -12,7 +12,7 @@ stdenv.mkDerivation { }; buildInputs = [ libmrss ] ++ lib.optionals stdenv.isDarwin [ libiconv ]; - checkInputs = [ cppcheck ]; + nativeCheckInputs = [ cppcheck ]; postPatch = '' substituteInPlace Makefile --replace -liconv_hook "" diff --git a/pkgs/applications/networking/flent/default.nix b/pkgs/applications/networking/flent/default.nix index 008579ea54fae..8da9a49f90a57 100644 --- a/pkgs/applications/networking/flent/default.nix +++ b/pkgs/applications/networking/flent/default.nix @@ -23,7 +23,7 @@ buildPythonApplication rec { python.pkgs.pyqt5 python.pkgs.qtpy ]; - checkInputs = [ + nativeCheckInputs = [ python.pkgs.mock xvfb-run ]; diff --git a/pkgs/applications/networking/google-drive-ocamlfuse/default.nix b/pkgs/applications/networking/google-drive-ocamlfuse/default.nix index 2367f847d1073..81062c1eb7c55 100644 --- a/pkgs/applications/networking/google-drive-ocamlfuse/default.nix +++ b/pkgs/applications/networking/google-drive-ocamlfuse/default.nix @@ -17,7 +17,7 @@ buildDunePackage rec { }; doCheck = true; - checkInputs = [ ounit2 ]; + nativeCheckInputs = [ ounit2 ]; buildInputs = [ extlib ocamlfuse gapi-ocaml ocaml_sqlite3 tiny_httpd ]; diff --git a/pkgs/applications/networking/instant-messengers/gajim/default.nix b/pkgs/applications/networking/instant-messengers/gajim/default.nix index 035d8bad26160..091bbf66e3d91 100644 --- a/pkgs/applications/networking/instant-messengers/gajim/default.nix +++ b/pkgs/applications/networking/instant-messengers/gajim/default.nix @@ -56,7 +56,7 @@ python3.pkgs.buildPythonApplication rec { ++ lib.optionals enableOmemoPluginDependencies [ python-axolotl qrcode ] ++ extraPythonPackages python3.pkgs; - checkInputs = [ xvfb-run dbus ]; + nativeCheckInputs = [ xvfb-run dbus ]; checkPhase = '' xvfb-run dbus-run-session \ diff --git a/pkgs/applications/networking/instant-messengers/pantalaimon/default.nix b/pkgs/applications/networking/instant-messengers/pantalaimon/default.nix index 49114903a59ac..10d2cb87f8b55 100644 --- a/pkgs/applications/networking/instant-messengers/pantalaimon/default.nix +++ b/pkgs/applications/networking/instant-messengers/pantalaimon/default.nix @@ -41,7 +41,7 @@ buildPythonApplication rec { pydbus ]; - checkInputs = [ + nativeCheckInputs = [ pytest faker pytest-aiohttp diff --git a/pkgs/applications/networking/instant-messengers/poezio/default.nix b/pkgs/applications/networking/instant-messengers/poezio/default.nix index bd8c492ff28fc..7d83dcf2d23c2 100644 --- a/pkgs/applications/networking/instant-messengers/poezio/default.nix +++ b/pkgs/applications/networking/instant-messengers/poezio/default.nix @@ -46,7 +46,7 @@ buildPythonApplication rec { typing-extensions ]; - checkInputs = [ + nativeCheckInputs = [ pytestCheckHook ]; diff --git a/pkgs/applications/networking/instant-messengers/telepathy/gabble/default.nix b/pkgs/applications/networking/instant-messengers/telepathy/gabble/default.nix index 343e9069bcaf0..a8b762ab7eabb 100644 --- a/pkgs/applications/networking/instant-messengers/telepathy/gabble/default.nix +++ b/pkgs/applications/networking/instant-messengers/telepathy/gabble/default.nix @@ -22,7 +22,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkg-config libxslt python3 ]; buildInputs = [ libxml2 dbus-glib sqlite libsoup libnice telepathy-glib gnutls ]; - checkInputs = [ dbus ]; + nativeCheckInputs = [ dbus ]; configureFlags = [ "--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt" ]; diff --git a/pkgs/applications/networking/instant-messengers/turses/default.nix b/pkgs/applications/networking/instant-messengers/turses/default.nix index c368c049daf02..cb6e8152ca2ca 100644 --- a/pkgs/applications/networking/instant-messengers/turses/default.nix +++ b/pkgs/applications/networking/instant-messengers/turses/default.nix @@ -45,7 +45,7 @@ buildPythonPackage rec { future ]; - checkInputs = with py.pkgs; [ + nativeCheckInputs = with py.pkgs; [ mock pytest coverage diff --git a/pkgs/applications/networking/instant-messengers/utox/default.nix b/pkgs/applications/networking/instant-messengers/utox/default.nix index 4392f5879954c..7fee1f5c3a83f 100644 --- a/pkgs/applications/networking/instant-messengers/utox/default.nix +++ b/pkgs/applications/networking/instant-messengers/utox/default.nix @@ -31,7 +31,7 @@ stdenv.mkDerivation rec { ]; doCheck = stdenv.hostPlatform == stdenv.buildPlatform; - checkInputs = [ check ]; + nativeCheckInputs = [ check ]; meta = with lib; { description = "Lightweight Tox client"; diff --git a/pkgs/applications/networking/instant-messengers/zulip-term/default.nix b/pkgs/applications/networking/instant-messengers/zulip-term/default.nix index cf48ba4420e65..931f951583549 100644 --- a/pkgs/applications/networking/instant-messengers/zulip-term/default.nix +++ b/pkgs/applications/networking/instant-messengers/zulip-term/default.nix @@ -35,7 +35,7 @@ python3.pkgs.buildPythonApplication rec { zulip ]; - checkInputs = [ + nativeCheckInputs = [ glibcLocales ] ++ (with python3.pkgs; [ pytestCheckHook diff --git a/pkgs/applications/networking/irc/convos/default.nix b/pkgs/applications/networking/irc/convos/default.nix index 30aac1cb11787..051a872151a75 100644 --- a/pkgs/applications/networking/irc/convos/default.nix +++ b/pkgs/applications/networking/irc/convos/default.nix @@ -29,7 +29,7 @@ perlPackages.buildPerlPackage rec { propagatedBuildInputs = [ openssl ]; - checkInputs = with perlPackages; [ TestDeep ]; + nativeCheckInputs = with perlPackages; [ TestDeep ]; postPatch = '' patchShebangs script/convos diff --git a/pkgs/applications/networking/jmeter/default.nix b/pkgs/applications/networking/jmeter/default.nix index 935c4ae571efb..22cacdd01ca14 100644 --- a/pkgs/applications/networking/jmeter/default.nix +++ b/pkgs/applications/networking/jmeter/default.nix @@ -34,7 +34,7 @@ stdenv.mkDerivation rec { doInstallCheck = false; #NoClassDefFoundError: org/apache/logging/log4j/Level for tests - checkInputs = [ coreutils ]; + nativeCheckInputs = [ coreutils ]; installCheckPhase = '' $out/bin/jmeter --version 2>&1 | grep -q "${version}" diff --git a/pkgs/applications/networking/mailreaders/afew/default.nix b/pkgs/applications/networking/mailreaders/afew/default.nix index d0050f73759d9..bc27b91a97da9 100644 --- a/pkgs/applications/networking/mailreaders/afew/default.nix +++ b/pkgs/applications/networking/mailreaders/afew/default.nix @@ -15,7 +15,7 @@ python3Packages.buildPythonApplication rec { python3Packages.setuptools python3Packages.notmuch chardet dkimpy ]; - checkInputs = with python3Packages; [ + nativeCheckInputs = with python3Packages; [ freezegun notmuch ]; diff --git a/pkgs/applications/networking/mailreaders/alot/default.nix b/pkgs/applications/networking/mailreaders/alot/default.nix index 889b893ea9cff..471b603f26a16 100644 --- a/pkgs/applications/networking/mailreaders/alot/default.nix +++ b/pkgs/applications/networking/mailreaders/alot/default.nix @@ -47,7 +47,7 @@ with python3.pkgs; buildPythonApplication rec { urwidtrees ]; - checkInputs = [ + nativeCheckInputs = [ future gawk gnupg diff --git a/pkgs/applications/networking/mailreaders/meli/default.nix b/pkgs/applications/networking/mailreaders/meli/default.nix index e3da77531a114..285fbdf357075 100644 --- a/pkgs/applications/networking/mailreaders/meli/default.nix +++ b/pkgs/applications/networking/mailreaders/meli/default.nix @@ -29,7 +29,7 @@ rustPlatform.buildRustPackage rec { buildInputs = [ openssl dbus sqlite ] ++ lib.optional withNotmuch notmuch; - checkInputs = [ file ]; + nativeCheckInputs = [ file ]; buildFeatures = lib.optionals withNotmuch [ "notmuch" ]; diff --git a/pkgs/applications/networking/mailreaders/notmuch/default.nix b/pkgs/applications/networking/mailreaders/notmuch/default.nix index e2dfcdc3184ee..d7de9e971ea3e 100644 --- a/pkgs/applications/networking/mailreaders/notmuch/default.nix +++ b/pkgs/applications/networking/mailreaders/notmuch/default.nix @@ -83,7 +83,7 @@ stdenv.mkDerivation rec { doCheck = !stdenv.hostPlatform.isDarwin && (lib.versionAtLeast gmime.version "3.0.3"); checkTarget = "test"; - checkInputs = [ + nativeCheckInputs = [ which dtach openssl bash gdb man emacs ]; diff --git a/pkgs/applications/networking/onionshare/default.nix b/pkgs/applications/networking/onionshare/default.nix index 2d23ece5e45c0..49193a384a637 100644 --- a/pkgs/applications/networking/onionshare/default.nix +++ b/pkgs/applications/networking/onionshare/default.nix @@ -94,7 +94,7 @@ rec { obfs4 ]; - checkInputs = [ + nativeCheckInputs = [ pytestCheckHook ]; diff --git a/pkgs/applications/networking/p2p/deluge/default.nix b/pkgs/applications/networking/p2p/deluge/default.nix index b5bb12da0ec55..507d2a282e4bc 100644 --- a/pkgs/applications/networking/p2p/deluge/default.nix +++ b/pkgs/applications/networking/p2p/deluge/default.nix @@ -57,7 +57,7 @@ let wrapGAppsHook ]; - checkInputs = with pypkgs; [ + nativeCheckInputs = with pypkgs; [ pytestCheckHook pytest-twisted pytest-cov diff --git a/pkgs/applications/networking/p2p/jesec-rtorrent/default.nix b/pkgs/applications/networking/p2p/jesec-rtorrent/default.nix index df314b6591c20..91a078590bf24 100644 --- a/pkgs/applications/networking/p2p/jesec-rtorrent/default.nix +++ b/pkgs/applications/networking/p2p/jesec-rtorrent/default.nix @@ -45,7 +45,7 @@ stdenv.mkDerivation rec { doCheck = true; - checkInputs = [ + nativeCheckInputs = [ gtest ]; diff --git a/pkgs/applications/networking/p2p/jesec-rtorrent/libtorrent.nix b/pkgs/applications/networking/p2p/jesec-rtorrent/libtorrent.nix index ac7e15b6a2e5b..7acfee3671dac 100644 --- a/pkgs/applications/networking/p2p/jesec-rtorrent/libtorrent.nix +++ b/pkgs/applications/networking/p2p/jesec-rtorrent/libtorrent.nix @@ -34,7 +34,7 @@ stdenv.mkDerivation rec { export LD_LIBRARY_PATH=$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}$PWD ''; - checkInputs = [ + nativeCheckInputs = [ gtest ]; diff --git a/pkgs/applications/networking/p2p/stig/default.nix b/pkgs/applications/networking/p2p/stig/default.nix index dce6baa438fb8..21c59e84a4458 100644 --- a/pkgs/applications/networking/p2p/stig/default.nix +++ b/pkgs/applications/networking/p2p/stig/default.nix @@ -27,7 +27,7 @@ python3Packages.buildPythonApplication rec { setproctitle ]; - checkInputs = with python3Packages; [ + nativeCheckInputs = with python3Packages; [ asynctest pytestCheckHook ]; diff --git a/pkgs/applications/networking/p2p/xd/default.nix b/pkgs/applications/networking/p2p/xd/default.nix index 779de53d3c5d9..b73c962240fc7 100644 --- a/pkgs/applications/networking/p2p/xd/default.nix +++ b/pkgs/applications/networking/p2p/xd/default.nix @@ -13,7 +13,7 @@ buildGoModule rec { vendorSha256 = "sha256-mJZRk3p+D3tCKIYggD5jVBXcKqJotEexljDzLKpn4/E="; - checkInputs = [ perl ]; + nativeCheckInputs = [ perl ]; postInstall = '' ln -s $out/bin/XD $out/bin/XD-CLI diff --git a/pkgs/applications/networking/sync/casync/default.nix b/pkgs/applications/networking/sync/casync/default.nix index 5bc29832c5f3b..7a1252f806fbe 100644 --- a/pkgs/applications/networking/sync/casync/default.nix +++ b/pkgs/applications/networking/sync/casync/default.nix @@ -36,7 +36,7 @@ stdenv.mkDerivation { ++ lib.optionals (selinuxSupport) [ libselinux ] ++ lib.optionals (udevSupport) [ udev ]; nativeBuildInputs = [ meson ninja pkg-config python3 sphinx ]; - checkInputs = [ glibcLocales rsync ]; + nativeCheckInputs = [ glibcLocales rsync ]; postPatch = '' for f in test/test-*.sh.in; do diff --git a/pkgs/applications/networking/taler/default.nix b/pkgs/applications/networking/taler/default.nix index 7dd8978dc2168..d91ba790610ee 100644 --- a/pkgs/applications/networking/taler/default.nix +++ b/pkgs/applications/networking/taler/default.nix @@ -49,7 +49,7 @@ in rec { enableParallelBuilding = true; - checkInputs = [ wget curl ]; + nativeCheckInputs = [ wget curl ]; doInstallCheck = true; checkTarget = "check"; @@ -100,7 +100,7 @@ in rec { enableParallelBuilding = true; - checkInputs = [ jq ]; + nativeCheckInputs = [ jq ]; doInstallCheck = true; checkTarget = "check"; diff --git a/pkgs/applications/networking/twtxt/default.nix b/pkgs/applications/networking/twtxt/default.nix index 5745408625620..7d703d2db4ff5 100644 --- a/pkgs/applications/networking/twtxt/default.nix +++ b/pkgs/applications/networking/twtxt/default.nix @@ -21,7 +21,7 @@ buildPythonApplication rec { propagatedBuildInputs = [ aiohttp python-dateutil humanize click ]; - checkInputs = [ pytestCheckHook tox ]; + nativeCheckInputs = [ pytestCheckHook tox ]; disabledTests = [ # Disable test using relative date and time diff --git a/pkgs/applications/networking/vnstat/default.nix b/pkgs/applications/networking/vnstat/default.nix index 8e9cfb5aee950..56a609e3de4df 100644 --- a/pkgs/applications/networking/vnstat/default.nix +++ b/pkgs/applications/networking/vnstat/default.nix @@ -24,7 +24,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkg-config ]; buildInputs = [ gd ncurses sqlite ]; - checkInputs = [ check ]; + nativeCheckInputs = [ check ]; doCheck = true; diff --git a/pkgs/applications/office/fava/default.nix b/pkgs/applications/office/fava/default.nix index fce5bb1496417..541366af048cf 100644 --- a/pkgs/applications/office/fava/default.nix +++ b/pkgs/applications/office/fava/default.nix @@ -27,7 +27,7 @@ python3.pkgs.buildPythonApplication rec { werkzeug ]; - checkInputs = with python3.pkgs; [ + nativeCheckInputs = with python3.pkgs; [ pytestCheckHook ]; diff --git a/pkgs/applications/office/gtg/default.nix b/pkgs/applications/office/gtg/default.nix index 16a498afcac00..8165cc381c112 100644 --- a/pkgs/applications/office/gtg/default.nix +++ b/pkgs/applications/office/gtg/default.nix @@ -55,7 +55,7 @@ python3Packages.buildPythonApplication rec { caldav ]; - checkInputs = with python3Packages; [ + nativeCheckInputs = with python3Packages; [ nose mock xvfb-run diff --git a/pkgs/applications/office/kmymoney/default.nix b/pkgs/applications/office/kmymoney/default.nix index 64167b84247c0..dfab08ace2d90 100644 --- a/pkgs/applications/office/kmymoney/default.nix +++ b/pkgs/applications/office/kmymoney/default.nix @@ -60,7 +60,7 @@ stdenv.mkDerivation rec { ''; doInstallCheck = stdenv.hostPlatform == stdenv.buildPlatform; - installCheckInputs = [ xvfb-run ]; + nativeInstallCheckInputs = [ xvfb-run ]; installCheckPhase = lib.optionalString doInstallCheck '' xvfb-run -s '-screen 0 1024x768x24' make test \ diff --git a/pkgs/applications/office/ledger-autosync/default.nix b/pkgs/applications/office/ledger-autosync/default.nix index 4f992c3ebe95e..55b89f195e693 100644 --- a/pkgs/applications/office/ledger-autosync/default.nix +++ b/pkgs/applications/office/ledger-autosync/default.nix @@ -49,7 +49,7 @@ python3Packages.buildPythonApplication rec { # Checks require ledger as a python package, # ledger does not support python3 while ledger-autosync requires it. - checkInputs = with python3Packages; [ ledger hledger nose mock pytestCheckHook ]; + nativeCheckInputs = with python3Packages; [ ledger hledger nose mock pytestCheckHook ]; # Disable some non-passing tests: # https://github.com/egh/ledger-autosync/issues/127 diff --git a/pkgs/applications/office/paperless-ngx/default.nix b/pkgs/applications/office/paperless-ngx/default.nix index f3a7a4f5f068b..c87e54e091543 100644 --- a/pkgs/applications/office/paperless-ngx/default.nix +++ b/pkgs/applications/office/paperless-ngx/default.nix @@ -210,7 +210,7 @@ python.pkgs.pythonPackages.buildPythonApplication rec { --prefix PATH : "${path}" ''; - checkInputs = with python.pkgs.pythonPackages; [ + nativeCheckInputs = with python.pkgs.pythonPackages; [ pytest-django pytest-env pytest-sugar diff --git a/pkgs/applications/office/paperwork/paperwork-backend.nix b/pkgs/applications/office/paperwork/paperwork-backend.nix index 814ae5e51f5fe..16b393abf5347 100644 --- a/pkgs/applications/office/paperwork/paperwork-backend.nix +++ b/pkgs/applications/office/paperwork/paperwork-backend.nix @@ -72,7 +72,7 @@ buildPythonPackage rec { make l10n_compile ''; - checkInputs = [ + nativeCheckInputs = [ libreoffice openpaperwork-gtk psutil diff --git a/pkgs/applications/office/paperwork/paperwork-gtk.nix b/pkgs/applications/office/paperwork/paperwork-gtk.nix index 387e6c2d7657c..8229a7cd40627 100644 --- a/pkgs/applications/office/paperwork/paperwork-gtk.nix +++ b/pkgs/applications/office/paperwork/paperwork-gtk.nix @@ -83,7 +83,7 @@ python3Packages.buildPythonApplication rec { done ''; - checkInputs = [ dbus ]; + nativeCheckInputs = [ dbus ]; nativeBuildInputs = [ wrapGAppsHook diff --git a/pkgs/applications/office/paperwork/paperwork-shell.nix b/pkgs/applications/office/paperwork/paperwork-shell.nix index 7e633f54f9e1c..ee621df4d8379 100644 --- a/pkgs/applications/office/paperwork/paperwork-shell.nix +++ b/pkgs/applications/office/paperwork/paperwork-shell.nix @@ -38,7 +38,7 @@ buildPythonPackage rec { psutil ]; - checkInputs = [ + nativeCheckInputs = [ openpaperwork-gtk ]; diff --git a/pkgs/applications/office/timeline/default.nix b/pkgs/applications/office/timeline/default.nix index 7cf777ae13f10..054809afd8a59 100644 --- a/pkgs/applications/office/timeline/default.nix +++ b/pkgs/applications/office/timeline/default.nix @@ -24,7 +24,7 @@ python3.pkgs.buildPythonApplication rec { markdown ]; - checkInputs = [ + nativeCheckInputs = [ gettext python3.pkgs.mock ]; diff --git a/pkgs/applications/office/todoman/default.nix b/pkgs/applications/office/todoman/default.nix index 68ec08e156e1e..50db368073d14 100644 --- a/pkgs/applications/office/todoman/default.nix +++ b/pkgs/applications/office/todoman/default.nix @@ -41,7 +41,7 @@ python3.pkgs.buildPythonApplication rec { urwid ]; - checkInputs = with python3.pkgs; [ + nativeCheckInputs = with python3.pkgs; [ flake8 flake8-import-order freezegun diff --git a/pkgs/applications/office/watson/default.nix b/pkgs/applications/office/watson/default.nix index a1a6fd3330577..4d5fd8542f2e8 100644 --- a/pkgs/applications/office/watson/default.nix +++ b/pkgs/applications/office/watson/default.nix @@ -28,7 +28,7 @@ buildPythonApplication rec { installShellCompletion --fish watson.fish ''; - checkInputs = [ pytestCheckHook pytest-mock mock pytest-datafiles ]; + nativeCheckInputs = [ pytestCheckHook pytest-mock mock pytest-datafiles ]; propagatedBuildInputs = [ arrow click click-didyoumean requests ]; nativeBuildInputs = [ installShellFiles ]; diff --git a/pkgs/applications/radio/gnss-sdr/default.nix b/pkgs/applications/radio/gnss-sdr/default.nix index 6aac0112f9614..e6461c924489d 100644 --- a/pkgs/applications/radio/gnss-sdr/default.nix +++ b/pkgs/applications/radio/gnss-sdr/default.nix @@ -44,7 +44,7 @@ gnuradio.pkgs.mkDerivation rec { gnuradio.unwrapped.python.pkgs.Mako gnuradio.unwrapped.python.pkgs.six ]; - checkInputs = [ + nativeCheckInputs = [ gtest ]; diff --git a/pkgs/applications/science/biology/deeptools/default.nix b/pkgs/applications/science/biology/deeptools/default.nix index 1739a4c999a44..eaf0b59327260 100644 --- a/pkgs/applications/science/biology/deeptools/default.nix +++ b/pkgs/applications/science/biology/deeptools/default.nix @@ -23,7 +23,7 @@ buildPythonApplication rec { deeptoolsintervals ]; - checkInputs = [ nose ]; + nativeCheckInputs = [ nose ]; meta = with lib; { homepage = "https://deeptools.readthedocs.io/en/develop"; diff --git a/pkgs/applications/science/biology/genmap/default.nix b/pkgs/applications/science/biology/genmap/default.nix index c2d1b8da7af12..c6f9cf1fb1932 100644 --- a/pkgs/applications/science/biology/genmap/default.nix +++ b/pkgs/applications/science/biology/genmap/default.nix @@ -22,7 +22,7 @@ stdenv.mkDerivation rec { doCheck = true; patches = [ ./gtest.patch ]; - checkInputs = [ gtest which ]; + nativeCheckInputs = [ gtest which ]; preCheck = "make genmap_algo_test"; # disable benchmarks diff --git a/pkgs/applications/science/biology/mrtrix/default.nix b/pkgs/applications/science/biology/mrtrix/default.nix index 99b6269737d1e..4cb130296aeca 100644 --- a/pkgs/applications/science/biology/mrtrix/default.nix +++ b/pkgs/applications/science/biology/mrtrix/default.nix @@ -33,7 +33,7 @@ stdenv.mkDerivation rec { qt5.qtsvg ]; - installCheckInputs = [ bc ]; + nativeInstallCheckInputs = [ bc ]; postPatch = '' patchShebangs ./build ./configure ./run_tests ./bin/* diff --git a/pkgs/applications/science/biology/samtools/default.nix b/pkgs/applications/science/biology/samtools/default.nix index 41129a667e914..c72dd1b19077d 100644 --- a/pkgs/applications/science/biology/samtools/default.nix +++ b/pkgs/applications/science/biology/samtools/default.nix @@ -19,7 +19,7 @@ stdenv.mkDerivation rec { ]; # tests require `bgzip` from the htslib package - checkInputs = [ htslib ]; + nativeCheckInputs = [ htslib ]; nativeBuildInputs = [ perl ]; diff --git a/pkgs/applications/science/electronics/verilator/default.nix b/pkgs/applications/science/electronics/verilator/default.nix index 0a190a1c90294..33d145c007566 100644 --- a/pkgs/applications/science/electronics/verilator/default.nix +++ b/pkgs/applications/science/electronics/verilator/default.nix @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; buildInputs = [ perl ]; nativeBuildInputs = [ flex bison python3 autoconf ]; - checkInputs = [ which ]; + nativeCheckInputs = [ which ]; doCheck = stdenv.isLinux; # darwin tests are broken for now... checkTarget = "test"; diff --git a/pkgs/applications/science/electronics/verilog/default.nix b/pkgs/applications/science/electronics/verilog/default.nix index 4994a1db7b2a2..994ecb8c13149 100644 --- a/pkgs/applications/science/electronics/verilog/default.nix +++ b/pkgs/applications/science/electronics/verilog/default.nix @@ -41,7 +41,7 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; - installCheckInputs = [ perl ]; + nativeInstallCheckInputs = [ perl ]; installCheckPhase = '' # copy tests to allow writing results diff --git a/pkgs/applications/science/electronics/xyce/default.nix b/pkgs/applications/science/electronics/xyce/default.nix index 2c52916bd9059..06872eae740f0 100644 --- a/pkgs/applications/science/electronics/xyce/default.nix +++ b/pkgs/applications/science/electronics/xyce/default.nix @@ -115,7 +115,7 @@ stdenv.mkDerivation rec { popd ''; - checkInputs = [ + nativeCheckInputs = [ bc perl (python3.withPackages (ps: with ps; [ numpy scipy ])) diff --git a/pkgs/applications/science/engineering/strictdoc/default.nix b/pkgs/applications/science/engineering/strictdoc/default.nix index ce834f7d576bd..c81652c5ae7e6 100644 --- a/pkgs/applications/science/engineering/strictdoc/default.nix +++ b/pkgs/applications/science/engineering/strictdoc/default.nix @@ -73,7 +73,7 @@ buildPythonApplication rec { XlsxWriter ]; - checkInputs = [ + nativeCheckInputs = [ pytestCheckHook ]; diff --git a/pkgs/applications/science/geometry/gama/default.nix b/pkgs/applications/science/geometry/gama/default.nix index 9ca7cc10c77f7..716fadd20fb9e 100644 --- a/pkgs/applications/science/geometry/gama/default.nix +++ b/pkgs/applications/science/geometry/gama/default.nix @@ -12,7 +12,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ texinfo zip ]; - checkInputs = [ octave libxml2 ]; + nativeCheckInputs = [ octave libxml2 ]; doCheck = true; meta = with lib ; { diff --git a/pkgs/applications/science/logic/beluga/default.nix b/pkgs/applications/science/logic/beluga/default.nix index 6a94d3f639e25..de9add38ed02b 100644 --- a/pkgs/applications/science/logic/beluga/default.nix +++ b/pkgs/applications/science/logic/beluga/default.nix @@ -22,7 +22,7 @@ ocamlPackages.buildDunePackage rec { ''; checkPhase = "./TEST"; - checkInputs = [ rsync ]; + nativeCheckInputs = [ rsync ]; doCheck = true; postInstall = '' diff --git a/pkgs/applications/science/logic/bitwuzla/default.nix b/pkgs/applications/science/logic/bitwuzla/default.nix index cc8651f69cfa0..4af4058339d93 100644 --- a/pkgs/applications/science/logic/bitwuzla/default.nix +++ b/pkgs/applications/science/logic/bitwuzla/default.nix @@ -48,7 +48,7 @@ stdenv.mkDerivation rec { "-DBtor2Tools_LIBRARIES=${lib.getLib btor2tools}/lib/libbtor2parser${stdenv.hostPlatform.extensions.sharedLibrary}" ] ++ lib.optional doCheck "-DTESTING=YES"; - checkInputs = [ python3 gtest ]; + nativeCheckInputs = [ python3 gtest ]; # two tests fail on darwin and 3 on aarch64-linux doCheck = stdenv.hostPlatform.isLinux && (!stdenv.hostPlatform.isAarch64); preCheck = let diff --git a/pkgs/applications/science/logic/boolector/default.nix b/pkgs/applications/science/logic/boolector/default.nix index 74927dd434d02..1d7e01c553b65 100644 --- a/pkgs/applications/science/logic/boolector/default.nix +++ b/pkgs/applications/science/logic/boolector/default.nix @@ -34,7 +34,7 @@ stdenv.mkDerivation rec { "-DUSE_LINGELING=YES" ] ++ (lib.optional (gmp != null) "-DUSE_GMP=YES"); - checkInputs = [ python3 ]; + nativeCheckInputs = [ python3 ]; doCheck = true; preCheck = let var = if stdenv.isDarwin then "DYLD_LIBRARY_PATH" else "LD_LIBRARY_PATH"; diff --git a/pkgs/applications/science/logic/kissat/default.nix b/pkgs/applications/science/logic/kissat/default.nix index 772e9c22a59a2..48d986cd5f6dd 100644 --- a/pkgs/applications/science/logic/kissat/default.nix +++ b/pkgs/applications/science/logic/kissat/default.nix @@ -15,7 +15,7 @@ stdenv.mkDerivation rec { outputs = [ "out" "dev" "lib" ]; - checkInputs = [ drat-trim p7zip ]; + nativeCheckInputs = [ drat-trim p7zip ]; doCheck = true; # 'make test' assumes that /etc/passwd is not writable. diff --git a/pkgs/applications/science/logic/klee/default.nix b/pkgs/applications/science/logic/klee/default.nix index e492daaced378..024e6e526c4e4 100644 --- a/pkgs/applications/science/logic/klee/default.nix +++ b/pkgs/applications/science/logic/klee/default.nix @@ -69,7 +69,7 @@ in stdenv.mkDerivation rec { cmake ]; - checkInputs = [ + nativeCheckInputs = [ gtest # Should appear BEFORE lit, since lit passes through python rather diff --git a/pkgs/applications/science/logic/monosat/default.nix b/pkgs/applications/science/logic/monosat/default.nix index 7295cdd30ae16..5b894d2c9376f 100644 --- a/pkgs/applications/science/logic/monosat/default.nix +++ b/pkgs/applications/science/logic/monosat/default.nix @@ -89,7 +89,7 @@ let --replace 'library_dir = "../../../../"' 'library_dir = "${core}/lib/"' ''; - checkInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ pytestCheckHook ]; disabledTests = [ "test_assertAtMostOne" diff --git a/pkgs/applications/science/logic/symbiyosys/default.nix b/pkgs/applications/science/logic/symbiyosys/default.nix index ffc61ed1d03bb..19c021684b3ff 100644 --- a/pkgs/applications/science/logic/symbiyosys/default.nix +++ b/pkgs/applications/science/logic/symbiyosys/default.nix @@ -48,7 +48,7 @@ stdenv.mkDerivation { ''; doCheck = false; # not all provers are yet packaged... - checkInputs = [ python3 yosys boolector yices z3 aiger ]; + nativeCheckInputs = [ python3 yosys boolector yices z3 aiger ]; checkPhase = "make test"; meta = { diff --git a/pkgs/applications/science/math/bcal/default.nix b/pkgs/applications/science/math/bcal/default.nix index b23b433becd31..fedb219a0c194 100644 --- a/pkgs/applications/science/math/bcal/default.nix +++ b/pkgs/applications/science/math/bcal/default.nix @@ -23,7 +23,7 @@ stdenv.mkDerivation rec { doCheck = true; - checkInputs = [ bc python3Packages.pytestCheckHook ]; + nativeCheckInputs = [ bc python3Packages.pytestCheckHook ]; pytestFlagsArray = [ "test.py" ]; diff --git a/pkgs/applications/science/math/maxima/default.nix b/pkgs/applications/science/math/maxima/default.nix index 8bad09f178802..dffc212176b30 100644 --- a/pkgs/applications/science/math/maxima/default.nix +++ b/pkgs/applications/science/math/maxima/default.nix @@ -37,7 +37,7 @@ stdenv.mkDerivation rec { strictDeps = true; - checkInputs = [ + nativeCheckInputs = [ gnuplot ]; diff --git a/pkgs/applications/science/math/yacas/default.nix b/pkgs/applications/science/math/yacas/default.nix index f7dc2a344e185..7fa2fe1a6075e 100644 --- a/pkgs/applications/science/math/yacas/default.nix +++ b/pkgs/applications/science/math/yacas/default.nix @@ -52,7 +52,7 @@ stdenv.mkDerivation rec { preCheck = '' patchShebangs ../tests/test-yacas ''; - checkInputs = [ + nativeCheckInputs = [ gtest ]; doCheck = true; diff --git a/pkgs/applications/science/misc/bada-bib/default.nix b/pkgs/applications/science/misc/bada-bib/default.nix index 2304e9f77f4cb..af2f233966204 100644 --- a/pkgs/applications/science/misc/bada-bib/default.nix +++ b/pkgs/applications/science/misc/bada-bib/default.nix @@ -49,7 +49,7 @@ python3Packages.buildPythonApplication rec { libadwaita ]; - checkInputs = [ + nativeCheckInputs = [ appstream-glib desktop-file-utils ]; diff --git a/pkgs/applications/science/misc/cwltool/default.nix b/pkgs/applications/science/misc/cwltool/default.nix index 5693344e63641..f6d9f4510faf8 100644 --- a/pkgs/applications/science/misc/cwltool/default.nix +++ b/pkgs/applications/science/misc/cwltool/default.nix @@ -45,7 +45,7 @@ python3.pkgs.buildPythonApplication rec { typing-extensions ]; - checkInputs = with python3.pkgs; [ + nativeCheckInputs = with python3.pkgs; [ mock nodejs pytest-mock diff --git a/pkgs/applications/science/misc/nextinspace/default.nix b/pkgs/applications/science/misc/nextinspace/default.nix index 8f168ab83839f..78e21dcd8788e 100644 --- a/pkgs/applications/science/misc/nextinspace/default.nix +++ b/pkgs/applications/science/misc/nextinspace/default.nix @@ -25,7 +25,7 @@ python3.pkgs.buildPythonApplication rec { colorama ]; - checkInputs = with python3.pkgs; [ + nativeCheckInputs = with python3.pkgs; [ pytest-lazy-fixture pytestCheckHook requests-mock diff --git a/pkgs/applications/science/misc/sasview/default.nix b/pkgs/applications/science/misc/sasview/default.nix index 34ad91235e330..ca94be96d64e3 100644 --- a/pkgs/applications/science/misc/sasview/default.nix +++ b/pkgs/applications/science/misc/sasview/default.nix @@ -55,7 +55,7 @@ python3.pkgs.buildPythonApplication rec { "\${qtWrapperArgs[@]}" ]; - checkInputs = with python3.pkgs; [ + nativeCheckInputs = with python3.pkgs; [ pytestCheckHook unittest-xml-reporting ]; diff --git a/pkgs/applications/science/misc/snakemake/default.nix b/pkgs/applications/science/misc/snakemake/default.nix index 89b174515c479..f162e2329a74d 100644 --- a/pkgs/applications/science/misc/snakemake/default.nix +++ b/pkgs/applications/science/misc/snakemake/default.nix @@ -47,7 +47,7 @@ python3.pkgs.buildPythonApplication rec { # for the current basic test suite. Tibanna and Tes require extra # setup. - checkInputs = with python3.pkgs; [ + nativeCheckInputs = with python3.pkgs; [ pandas pytestCheckHook requests-mock diff --git a/pkgs/applications/science/misc/toil/default.nix b/pkgs/applications/science/misc/toil/default.nix index 43cb6bbbc7ee3..7fc070f4f9f75 100644 --- a/pkgs/applications/science/misc/toil/default.nix +++ b/pkgs/applications/science/misc/toil/default.nix @@ -36,7 +36,7 @@ python3.pkgs.buildPythonApplication rec { typing-extensions ]; - checkInputs = [ + nativeCheckInputs = [ rsync ] ++ (with python3.pkgs; [ boto diff --git a/pkgs/applications/terminal-emulators/kitty/default.nix b/pkgs/applications/terminal-emulators/kitty/default.nix index 0901b2609dbbf..aad2c367b91fd 100644 --- a/pkgs/applications/terminal-emulators/kitty/default.nix +++ b/pkgs/applications/terminal-emulators/kitty/default.nix @@ -129,7 +129,7 @@ buildPythonApplication rec { runHook postBuild ''; - checkInputs = [ + nativeCheckInputs = [ pillow # Shells needed for shell integration tests diff --git a/pkgs/applications/version-management/blackbox/default.nix b/pkgs/applications/version-management/blackbox/default.nix index 06a941de7b461..2b4b09fd2500f 100644 --- a/pkgs/applications/version-management/blackbox/default.nix +++ b/pkgs/applications/version-management/blackbox/default.nix @@ -27,7 +27,7 @@ stdenv.mkDerivation rec { # https://github.com/NixOS/nixpkgs/issues/134445 doCheck = !stdenv.isDarwin && stdenv.isx86_64; - checkInputs = [ + nativeCheckInputs = [ expect which coreutils diff --git a/pkgs/applications/version-management/bump2version/default.nix b/pkgs/applications/version-management/bump2version/default.nix index ffb9455bd19f9..86d1618cc48d4 100644 --- a/pkgs/applications/version-management/bump2version/default.nix +++ b/pkgs/applications/version-management/bump2version/default.nix @@ -19,7 +19,7 @@ buildPythonApplication rec { sha256 = "sha256-j6HKi3jTwSgGBrA8PCJJNg+yQqRMo1aqaLgPGf4KAKU="; }; - checkInputs = [ + nativeCheckInputs = [ pytestCheckHook testfixtures ]; diff --git a/pkgs/applications/version-management/bumpver/default.nix b/pkgs/applications/version-management/bumpver/default.nix index 756a031ae1e7f..d32e0154c8ae7 100644 --- a/pkgs/applications/version-management/bumpver/default.nix +++ b/pkgs/applications/version-management/bumpver/default.nix @@ -18,7 +18,7 @@ python3.pkgs.buildPythonApplication rec { propagatedBuildInputs = with python3.pkgs; [ pathlib2 click toml lexid colorama setuptools ]; - checkInputs = [ python3.pkgs.pytestCheckHook git mercurial]; + nativeCheckInputs = [ python3.pkgs.pytestCheckHook git mercurial]; meta = with lib; { description = "Bump version numbers in project files"; diff --git a/pkgs/applications/version-management/commitizen/default.nix b/pkgs/applications/version-management/commitizen/default.nix index 7eea1e0eb30e5..f7ba075114b7f 100644 --- a/pkgs/applications/version-management/commitizen/default.nix +++ b/pkgs/applications/version-management/commitizen/default.nix @@ -60,7 +60,7 @@ buildPythonApplication rec { doCheck = true; - checkInputs = [ + nativeCheckInputs = [ pre-commit py pytestCheckHook diff --git a/pkgs/applications/version-management/conform/default.nix b/pkgs/applications/version-management/conform/default.nix index 67741d55ceb22..5905b6e4d1ba4 100644 --- a/pkgs/applications/version-management/conform/default.nix +++ b/pkgs/applications/version-management/conform/default.nix @@ -18,7 +18,7 @@ buildGoModule rec { "-X github.com/siderolabs/conform/internal/version.Tag=v${version}" ]; - checkInputs = [ git ]; + nativeCheckInputs = [ git ]; meta = with lib; { description = "Policy enforcement for your pipelines"; diff --git a/pkgs/applications/version-management/cvs2svn/default.nix b/pkgs/applications/version-management/cvs2svn/default.nix index a5903b7266e46..fe429fdb7afc9 100644 --- a/pkgs/applications/version-management/cvs2svn/default.nix +++ b/pkgs/applications/version-management/cvs2svn/default.nix @@ -15,7 +15,7 @@ pypy2Packages.buildPythonApplication rec { nativeBuildInputs = [ makeWrapper installShellFiles ]; - checkInputs = [ subversion git breezy ]; + nativeCheckInputs = [ subversion git breezy ]; checkPhase = "${pypy2Packages.python.interpreter} run-tests.py"; diff --git a/pkgs/applications/version-management/delta/default.nix b/pkgs/applications/version-management/delta/default.nix index 184a15d92c013..c02a9af2538ec 100644 --- a/pkgs/applications/version-management/delta/default.nix +++ b/pkgs/applications/version-management/delta/default.nix @@ -27,7 +27,7 @@ rustPlatform.buildRustPackage rec { buildInputs = lib.optionals stdenv.isDarwin [ DiskArbitration Foundation libiconv Security ]; - checkInputs = [ git ]; + nativeCheckInputs = [ git ]; postInstall = '' installShellCompletion --bash --name delta.bash etc/completion/completion.bash diff --git a/pkgs/applications/version-management/fast-export/default.nix b/pkgs/applications/version-management/fast-export/default.nix index 9d726795c6200..a4d9c030c9b49 100644 --- a/pkgs/applications/version-management/fast-export/default.nix +++ b/pkgs/applications/version-management/fast-export/default.nix @@ -35,7 +35,7 @@ stdenv.mkDerivation rec { ''; doInstallCheck = true; - # deliberately not adding git or hg into installCheckInputs - package should + # deliberately not adding git or hg into nativeInstallCheckInputs - package should # be able to work without them in runtime env installCheckPhase = '' mkdir repo-hg diff --git a/pkgs/applications/version-management/gg/default.nix b/pkgs/applications/version-management/gg/default.nix index 032c461a74ce8..b94fea8da8582 100644 --- a/pkgs/applications/version-management/gg/default.nix +++ b/pkgs/applications/version-management/gg/default.nix @@ -36,7 +36,7 @@ in buildGoModule { vendorSha256 = "214dc073dad7b323ea449acf24c5b578d573432eeaa1506cf5761a2d7f5ce405"; nativeBuildInputs = [ pandoc installShellFiles makeWrapper ]; - checkInputs = [ bash coreutils git ]; + nativeCheckInputs = [ bash coreutils git ]; buildInputs = [ bash git ]; postInstall = '' diff --git a/pkgs/applications/version-management/git-aggregator/default.nix b/pkgs/applications/version-management/git-aggregator/default.nix index 9b2465366f672..3009edcb90a38 100644 --- a/pkgs/applications/version-management/git-aggregator/default.nix +++ b/pkgs/applications/version-management/git-aggregator/default.nix @@ -21,7 +21,7 @@ python3Packages.buildPythonApplication rec { requests ]; - checkInputs = [ + nativeCheckInputs = [ git ]; diff --git a/pkgs/applications/version-management/git-bug-migration/default.nix b/pkgs/applications/version-management/git-bug-migration/default.nix index 53c496ae009ae..36ddc93d839c5 100644 --- a/pkgs/applications/version-management/git-bug-migration/default.nix +++ b/pkgs/applications/version-management/git-bug-migration/default.nix @@ -12,7 +12,7 @@ buildGoModule rec { vendorSha256 = "sha256-Hid9OK91LNjLmDHam0ZlrVQopVOsqbZ+BH2rfQi5lS0="; - checkInputs = [ git ]; + nativeCheckInputs = [ git ]; ldflags = [ "-X main.GitExactTag=${version}" diff --git a/pkgs/applications/version-management/git-codereview/default.nix b/pkgs/applications/version-management/git-codereview/default.nix index af641d241b849..90dcbdb0dddc3 100644 --- a/pkgs/applications/version-management/git-codereview/default.nix +++ b/pkgs/applications/version-management/git-codereview/default.nix @@ -15,7 +15,7 @@ buildGoModule rec { ldflags = [ "-s" "-w" ]; - checkInputs = [ git ]; + nativeCheckInputs = [ git ]; meta = with lib; { description = "Manage the code review process for Git changes using a Gerrit server"; diff --git a/pkgs/applications/version-management/git-delete-merged-branches/default.nix b/pkgs/applications/version-management/git-delete-merged-branches/default.nix index dc9b251537ec8..08d93bcf69e7d 100644 --- a/pkgs/applications/version-management/git-delete-merged-branches/default.nix +++ b/pkgs/applications/version-management/git-delete-merged-branches/default.nix @@ -16,7 +16,7 @@ python3Packages.buildPythonApplication rec { prompt-toolkit ]; - checkInputs = [ git ] + nativeCheckInputs = [ git ] ++ (with python3Packages; [ parameterized ]); meta = with lib; { diff --git a/pkgs/applications/version-management/git-lfs/default.nix b/pkgs/applications/version-management/git-lfs/default.nix index bbb7d29422aa7..4285c5be8a389 100644 --- a/pkgs/applications/version-management/git-lfs/default.nix +++ b/pkgs/applications/version-management/git-lfs/default.nix @@ -31,7 +31,7 @@ buildGoModule rec { make man ''; - checkInputs = [ git ]; + nativeCheckInputs = [ git ]; preCheck = '' unset subPackages diff --git a/pkgs/applications/version-management/git-machete/default.nix b/pkgs/applications/version-management/git-machete/default.nix index 0fd110dcc3f82..aae8144404232 100644 --- a/pkgs/applications/version-management/git-machete/default.nix +++ b/pkgs/applications/version-management/git-machete/default.nix @@ -23,7 +23,7 @@ buildPythonApplication rec { nativeBuildInputs = [ installShellFiles ]; - checkInputs = [ + nativeCheckInputs = [ git pytest-mock pytestCheckHook diff --git a/pkgs/applications/version-management/git-nomad/default.nix b/pkgs/applications/version-management/git-nomad/default.nix index 50d2b117ba559..15534fc01bb36 100644 --- a/pkgs/applications/version-management/git-nomad/default.nix +++ b/pkgs/applications/version-management/git-nomad/default.nix @@ -17,7 +17,7 @@ rustPlatform.buildRustPackage rec { darwin.apple_sdk.frameworks.SystemConfiguration ]; - checkInputs = [ + nativeCheckInputs = [ git ]; diff --git a/pkgs/applications/version-management/git-privacy/default.nix b/pkgs/applications/version-management/git-privacy/default.nix index d162f9ce20ba5..0a87793639d8e 100644 --- a/pkgs/applications/version-management/git-privacy/default.nix +++ b/pkgs/applications/version-management/git-privacy/default.nix @@ -24,7 +24,7 @@ python3.pkgs.buildPythonApplication rec { setuptools ]; - checkInputs = with python3.pkgs; [ + nativeCheckInputs = with python3.pkgs; [ git pytestCheckHook ]; diff --git a/pkgs/applications/version-management/git-remote-codecommit/default.nix b/pkgs/applications/version-management/git-remote-codecommit/default.nix index 8ada5cc42f54e..f2b47af2e3828 100644 --- a/pkgs/applications/version-management/git-remote-codecommit/default.nix +++ b/pkgs/applications/version-management/git-remote-codecommit/default.nix @@ -23,7 +23,7 @@ buildPythonApplication rec { propagatedBuildInputs = [ botocore ]; - checkInputs = [ pytest mock flake8 tox awscli ]; + nativeCheckInputs = [ pytest mock flake8 tox awscli ]; checkPhase = '' pytest diff --git a/pkgs/applications/version-management/git-town/default.nix b/pkgs/applications/version-management/git-town/default.nix index abca61358d99b..8a59fad46431b 100644 --- a/pkgs/applications/version-management/git-town/default.nix +++ b/pkgs/applications/version-management/git-town/default.nix @@ -36,7 +36,7 @@ buildGoModule rec { "-X ${modulePath}/src/cmd.buildDate=nix" ]; - checkInputs = [ git ]; + nativeCheckInputs = [ git ]; preCheck = let skippedTests = [ diff --git a/pkgs/applications/version-management/git-up/default.nix b/pkgs/applications/version-management/git-up/default.nix index 71ae40e25d35b..308c04b05d603 100644 --- a/pkgs/applications/version-management/git-up/default.nix +++ b/pkgs/applications/version-management/git-up/default.nix @@ -24,7 +24,7 @@ pythonPackages.buildPythonApplication rec { termcolor ]); - checkInputs = [ git pythonPackages.nose ]; # git needs to be on path + nativeCheckInputs = [ git pythonPackages.nose ]; # git needs to be on path # 1. git fails to run as it cannot detect the email address, so we set it # 2. $HOME is by default not a valid dir, so we have to set that too # https://github.com/NixOS/nixpkgs/issues/12591 diff --git a/pkgs/applications/version-management/gita/default.nix b/pkgs/applications/version-management/gita/default.nix index 6f20e4a44c6fe..f2d9d2a9f66d1 100644 --- a/pkgs/applications/version-management/gita/default.nix +++ b/pkgs/applications/version-management/gita/default.nix @@ -33,7 +33,7 @@ buildPythonApplication rec { done ''; - checkInputs = [ + nativeCheckInputs = [ git pytest ]; diff --git a/pkgs/applications/version-management/gitlint/default.nix b/pkgs/applications/version-management/gitlint/default.nix index 626739864c713..6adb5bdc7a3f6 100644 --- a/pkgs/applications/version-management/gitlint/default.nix +++ b/pkgs/applications/version-management/gitlint/default.nix @@ -26,7 +26,7 @@ python3.pkgs.buildPythonApplication rec { sh ]; - checkInputs = with python3.pkgs; [ + nativeCheckInputs = with python3.pkgs; [ gitMinimal pytestCheckHook ]; diff --git a/pkgs/applications/version-management/gitstatus/default.nix b/pkgs/applications/version-management/gitstatus/default.nix index 4b669c27252e2..21e8bafcd0b35 100644 --- a/pkgs/applications/version-management/gitstatus/default.nix +++ b/pkgs/applications/version-management/gitstatus/default.nix @@ -45,7 +45,7 @@ stdenv.mkDerivation rec { # that the script was sourced successfully and that the "gitstatus_query" # command ran successfully. This tests the binary itself and the zsh # integration. - installCheckInputs = [ git zsh ]; + nativeInstallCheckInputs = [ git zsh ]; doInstallCheck = true; installCheckPhase = '' TEMP=$(mktemp -d) diff --git a/pkgs/applications/version-management/glitter/default.nix b/pkgs/applications/version-management/glitter/default.nix index 5f2ac7fea8b4e..5786ebc8a6507 100644 --- a/pkgs/applications/version-management/glitter/default.nix +++ b/pkgs/applications/version-management/glitter/default.nix @@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec { cargoSha256 = "sha256-GQ7Bns+FPj4jl2dBXnMrmcKIYcZTLZc1WvaHgKGj/gU="; - checkInputs = [ + nativeCheckInputs = [ git ]; diff --git a/pkgs/applications/version-management/hub/default.nix b/pkgs/applications/version-management/hub/default.nix index cb75ec8264640..307bf0e6f408f 100644 --- a/pkgs/applications/version-management/hub/default.nix +++ b/pkgs/applications/version-management/hub/default.nix @@ -50,7 +50,7 @@ buildGoModule rec { --suffix PATH : ${lib.makeBinPath [ git ]} ''; - checkInputs = [ + nativeCheckInputs = [ git ]; diff --git a/pkgs/applications/version-management/nbstripout/default.nix b/pkgs/applications/version-management/nbstripout/default.nix index a201ce6ddbb46..e88f21a85cb15 100644 --- a/pkgs/applications/version-management/nbstripout/default.nix +++ b/pkgs/applications/version-management/nbstripout/default.nix @@ -25,7 +25,7 @@ python3.pkgs.buildPythonApplication rec { nbformat ]; - checkInputs = [ + nativeCheckInputs = [ coreutils git mercurial diff --git a/pkgs/applications/version-management/pass-git-helper/default.nix b/pkgs/applications/version-management/pass-git-helper/default.nix index 63f7a459a70a5..7085e0c48f250 100644 --- a/pkgs/applications/version-management/pass-git-helper/default.nix +++ b/pkgs/applications/version-management/pass-git-helper/default.nix @@ -12,7 +12,7 @@ buildPythonApplication rec { }; propagatedBuildInputs = [ pyxdg ]; - checkInputs = [ pytest pytest-mock ]; + nativeCheckInputs = [ pytest pytest-mock ]; preCheck = '' export HOME=$(mktemp -d) ''; diff --git a/pkgs/applications/version-management/radicle-cli/default.nix b/pkgs/applications/version-management/radicle-cli/default.nix index a8df056774a2a..f74ae1cf37a3b 100644 --- a/pkgs/applications/version-management/radicle-cli/default.nix +++ b/pkgs/applications/version-management/radicle-cli/default.nix @@ -50,7 +50,7 @@ rustPlatform.buildRustPackage rec { done ''; - checkInputs = [ openssh ]; + nativeCheckInputs = [ openssh ]; preCheck = '' eval $(ssh-agent) ''; diff --git a/pkgs/applications/version-management/sourcehut/todo.nix b/pkgs/applications/version-management/sourcehut/todo.nix index b6e4f8c33110f..95ef43775ec2c 100644 --- a/pkgs/applications/version-management/sourcehut/todo.nix +++ b/pkgs/applications/version-management/sourcehut/todo.nix @@ -52,7 +52,7 @@ buildPythonPackage rec { ''; # pytest tests fail - checkInputs = [ + nativeCheckInputs = [ pytest factory_boy ]; diff --git a/pkgs/applications/version-management/srvc/default.nix b/pkgs/applications/version-management/srvc/default.nix index 2c9fa57f0ab32..763c60f654bba 100644 --- a/pkgs/applications/version-management/srvc/default.nix +++ b/pkgs/applications/version-management/srvc/default.nix @@ -17,7 +17,7 @@ rustPlatform.buildRustPackage rec { Security ]; - checkInputs = [ webfs ]; + nativeCheckInputs = [ webfs ]; # remove timeouts in tests to make them less flaky TEST_SRVC_DISABLE_TIMEOUT = 1; diff --git a/pkgs/applications/version-management/stgit/default.nix b/pkgs/applications/version-management/stgit/default.nix index b5bdecd85ad16..535edeeff1529 100644 --- a/pkgs/applications/version-management/stgit/default.nix +++ b/pkgs/applications/version-management/stgit/default.nix @@ -26,7 +26,7 @@ python3Packages.buildPythonApplication rec { format = "other"; - checkInputs = [ git perl ]; + nativeCheckInputs = [ git perl ]; postPatch = '' for f in Documentation/*.xsl; do diff --git a/pkgs/applications/version-management/subversion/default.nix b/pkgs/applications/version-management/subversion/default.nix index 69a2bce490606..613872721d204 100644 --- a/pkgs/applications/version-management/subversion/default.nix +++ b/pkgs/applications/version-management/subversion/default.nix @@ -101,7 +101,7 @@ let enableParallelBuilding = true; - checkInputs = [ python3 ]; + nativeCheckInputs = [ python3 ]; doCheck = false; # fails 10 out of ~2300 tests meta = with lib; { diff --git a/pkgs/applications/version-management/vcsh/default.nix b/pkgs/applications/version-management/vcsh/default.nix index 1fa100591832d..0625d0a684e00 100644 --- a/pkgs/applications/version-management/vcsh/default.nix +++ b/pkgs/applications/version-management/vcsh/default.nix @@ -22,7 +22,7 @@ stdenv.mkDerivation rec { buildInputs = [ git ]; - checkInputs = [] + nativeCheckInputs = [] ++ (with perlPackages; [ perl ShellCommand TestMost ]); outputs = [ "out" "doc" "man" ]; diff --git a/pkgs/applications/video/manim/default.nix b/pkgs/applications/video/manim/default.nix index 3f1d5ecb81b92..bcb6eca16321a 100644 --- a/pkgs/applications/video/manim/default.nix +++ b/pkgs/applications/video/manim/default.nix @@ -107,7 +107,7 @@ in python3.pkgs.buildPythonApplication rec { ]; - checkInputs = [ + nativeCheckInputs = [ python3.pkgs.pytest-xdist python3.pkgs.pytestCheckHook diff --git a/pkgs/applications/video/pipe-viewer/default.nix b/pkgs/applications/video/pipe-viewer/default.nix index 620cedb6c1b29..18e38122f27c8 100644 --- a/pkgs/applications/video/pipe-viewer/default.nix +++ b/pkgs/applications/video/pipe-viewer/default.nix @@ -62,7 +62,7 @@ buildPerlModule rec { substituteInPlace Build.PL --replace 'my $gtk ' 'my $gtk = 1;#' ''; - checkInputs = [ + nativeCheckInputs = [ TestPod ]; diff --git a/pkgs/applications/video/srtrelay/default.nix b/pkgs/applications/video/srtrelay/default.nix index 898f728d3eec1..b0dc49d7610d1 100644 --- a/pkgs/applications/video/srtrelay/default.nix +++ b/pkgs/applications/video/srtrelay/default.nix @@ -14,7 +14,7 @@ buildGoModule rec { vendorSha256 = "sha256-xTYlfdijSo99ei+ZMX6N9gl+yw0DrPQ2wOhn6SS9S/E="; buildInputs = [ srt ]; - checkInputs = [ ffmpeg ]; + nativeCheckInputs = [ ffmpeg ]; meta = with lib; { description = "Streaming-Relay for the SRT-protocol"; diff --git a/pkgs/applications/video/streamlink/default.nix b/pkgs/applications/video/streamlink/default.nix index 6aeab3e6e4277..6a8207e7bc16d 100644 --- a/pkgs/applications/video/streamlink/default.nix +++ b/pkgs/applications/video/streamlink/default.nix @@ -14,7 +14,7 @@ python3Packages.buildPythonApplication rec { hash = "sha256-UB9gTT2/rQXV1Q7UQywEHlGBCJDMDmXupD8nYII4dno="; }; - checkInputs = with python3Packages; [ + nativeCheckInputs = with python3Packages; [ pytestCheckHook mock requests-mock diff --git a/pkgs/applications/virtualization/docker/compose_1.nix b/pkgs/applications/virtualization/docker/compose_1.nix index 425363e2b73b6..4e692eb51b118 100644 --- a/pkgs/applications/virtualization/docker/compose_1.nix +++ b/pkgs/applications/virtualization/docker/compose_1.nix @@ -19,7 +19,7 @@ buildPythonApplication rec { # lots of networking and other fails doCheck = false; nativeBuildInputs = [ installShellFiles ]; - checkInputs = [ mock pytest nose ]; + nativeCheckInputs = [ mock pytest nose ]; propagatedBuildInputs = [ pyyaml colorama dockerpty docker jsonschema requests six texttable websocket-client diff --git a/pkgs/applications/virtualization/qemu/default.nix b/pkgs/applications/virtualization/qemu/default.nix index e0c29518a7293..e68cf7048b56a 100644 --- a/pkgs/applications/virtualization/qemu/default.nix +++ b/pkgs/applications/virtualization/qemu/default.nix @@ -192,7 +192,7 @@ stdenv.mkDerivation rec { # tests can still timeout on slower systems inherit doCheck; - checkInputs = [ socat ]; + nativeCheckInputs = [ socat ]; preCheck = '' # time limits are a little meagre for a build machine that's # potentially under load. diff --git a/pkgs/applications/virtualization/virt-manager/default.nix b/pkgs/applications/virtualization/virt-manager/default.nix index 03aba1c41218a..e5d5a1fbfe7cc 100644 --- a/pkgs/applications/virtualization/virt-manager/default.nix +++ b/pkgs/applications/virtualization/virt-manager/default.nix @@ -60,7 +60,7 @@ python3.pkgs.buildPythonApplication rec { --replace "'--owner=root:root'" "'--owner=0:0'" ''; - checkInputs = with python3.pkgs; [ + nativeCheckInputs = with python3.pkgs; [ pytestCheckHook cpio cdrtools diff --git a/pkgs/applications/window-managers/herbstluftwm/default.nix b/pkgs/applications/window-managers/herbstluftwm/default.nix index 4918dad35f425..ed6b9fd4aac73 100644 --- a/pkgs/applications/window-managers/herbstluftwm/default.nix +++ b/pkgs/applications/window-managers/herbstluftwm/default.nix @@ -61,7 +61,7 @@ stdenv.mkDerivation rec { doCheck = true; - checkInputs = [ + nativeCheckInputs = [ (python3.withPackages (ps: with ps; [ ewmh pytest xlib ])) xdotool xorgserver diff --git a/pkgs/applications/window-managers/phosh/default.nix b/pkgs/applications/window-managers/phosh/default.nix index f18ca995b14ba..586b82cc059c1 100644 --- a/pkgs/applications/window-managers/phosh/default.nix +++ b/pkgs/applications/window-managers/phosh/default.nix @@ -79,7 +79,7 @@ stdenv.mkDerivation rec { feedbackd ]; - checkInputs = [ + nativeCheckInputs = [ dbus xvfb-run ]; diff --git a/pkgs/applications/window-managers/sommelier/default.nix b/pkgs/applications/window-managers/sommelier/default.nix index 0528553b1894f..4df306eec9c0a 100644 --- a/pkgs/applications/window-managers/sommelier/default.nix +++ b/pkgs/applications/window-managers/sommelier/default.nix @@ -17,7 +17,7 @@ stdenv.mkDerivation { buildInputs = [ libxkbcommon mesa pixman wayland xorg.libxcb ]; doCheck = true; - checkInputs = [ gtest ]; + nativeCheckInputs = [ gtest ]; postInstall = '' rm $out/bin/sommelier_test # why does it install the test binary? o_O |