about summary refs log tree commit diff
path: root/lib/tests/test-with-nix.nix
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tests/test-with-nix.nix')
-rw-r--r--lib/tests/test-with-nix.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tests/test-with-nix.nix b/lib/tests/test-with-nix.nix
index 1316aaa49b88..a6aee9859428 100644
--- a/lib/tests/test-with-nix.nix
+++ b/lib/tests/test-with-nix.nix
@@ -33,7 +33,7 @@ pkgs.runCommand "nixpkgs-lib-tests-nix-${nix.version}" {
   nativeBuildInputs = [
     nix
     pkgs.gitMinimal
-  ] ++ lib.optional pkgs.stdenv.isLinux pkgs.inotify-tools;
+  ] ++ lib.optional pkgs.stdenv.hostPlatform.isLinux pkgs.inotify-tools;
   strictDeps = true;
 } ''
   datadir="${nix}/share"