about summary refs log tree commit diff
path: root/pkgs/by-name/ne/netclient/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/ne/netclient/package.nix')
-rw-r--r--pkgs/by-name/ne/netclient/package.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/by-name/ne/netclient/package.nix b/pkgs/by-name/ne/netclient/package.nix
index 9634c2b07a80..5ac4e9f7a451 100644
--- a/pkgs/by-name/ne/netclient/package.nix
+++ b/pkgs/by-name/ne/netclient/package.nix
@@ -19,8 +19,8 @@ buildGoModule rec {
 
   vendorHash = "sha256-DzTTESPxYuZYNGjEG3PufLoS02+R9275arVcUzImpBU=";
 
-  buildInputs = lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Cocoa
-    ++ lib.optional stdenv.isLinux libX11;
+  buildInputs = lib.optional stdenv.hostPlatform.isDarwin darwin.apple_sdk.frameworks.Cocoa
+    ++ lib.optional stdenv.hostPlatform.isLinux libX11;
 
   hardeningEnabled = [ "pie" ];