about summary refs log tree commit diff
path: root/pkgs/tools/system/gotop/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/system/gotop/default.nix')
-rw-r--r--pkgs/tools/system/gotop/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/system/gotop/default.nix b/pkgs/tools/system/gotop/default.nix
index 5305b127a1c5..b2279e0f13d2 100644
--- a/pkgs/tools/system/gotop/default.nix
+++ b/pkgs/tools/system/gotop/default.nix
@@ -32,7 +32,7 @@ buildGoModule rec {
 
   nativeBuildInputs = [ installShellFiles ];
 
-  buildInputs = lib.optionals stdenv.isDarwin [ IOKit ];
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ IOKit ];
 
   preCheck = ''
     export HOME=$(mktemp -d)