about summary refs log tree commit diff
path: root/pkgs/development/misc/resholve/test.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/misc/resholve/test.nix')
-rw-r--r--pkgs/development/misc/resholve/test.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/misc/resholve/test.nix b/pkgs/development/misc/resholve/test.nix
index ab61884963aa..654f8a4577f5 100644
--- a/pkgs/development/misc/resholve/test.nix
+++ b/pkgs/development/misc/resholve/test.nix
@@ -234,7 +234,7 @@ rec {
       ncurses
       procps
       ps
-    ] ++ lib.optionals stdenv.isLinux [
+    ] ++ lib.optionals stdenv.hostPlatform.isLinux [
       nixos-install-tools
       nixos-rebuild
     ];
@@ -258,7 +258,7 @@ rec {
     tset fake args
     ps fake args
     top fake args
-  '' + lib.optionalString stdenv.isLinux ''
+  '' + lib.optionalString stdenv.hostPlatform.isLinux ''
     nixos-generate-config fake args
     nixos-rebuild fake args
   '');
@@ -279,7 +279,7 @@ rec {
   inherit shunit2;
   inherit xdg-utils;
   inherit yadm;
-} // lib.optionalAttrs stdenv.isLinux {
+} // lib.optionalAttrs stdenv.hostPlatform.isLinux {
   inherit arch-install-scripts;
   inherit dgoss;
   inherit rancid;
@@ -287,6 +287,6 @@ rec {
   inherit wgnord;
   inherit wsl-vpnkit;
   inherit zxfer;
-} // lib.optionalAttrs (stdenv.isLinux && (stdenv.isi686 || stdenv.isx86_64)) {
+} // lib.optionalAttrs (stdenv.hostPlatform.isLinux && (stdenv.hostPlatform.isi686 || stdenv.hostPlatform.isx86_64)) {
   inherit s0ix-selftest-tool;
 }