about summary refs log tree commit diff
path: root/pkgs/tools/admin/google-cloud-sdk/components.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/admin/google-cloud-sdk/components.nix')
-rw-r--r--pkgs/tools/admin/google-cloud-sdk/components.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/admin/google-cloud-sdk/components.nix b/pkgs/tools/admin/google-cloud-sdk/components.nix
index f63b5049e201..c337112762b6 100644
--- a/pkgs/tools/admin/google-cloud-sdk/components.nix
+++ b/pkgs/tools/admin/google-cloud-sdk/components.nix
@@ -164,7 +164,7 @@ let
       nativeBuildInputs = [
         python3
         stdenv.cc.cc
-      ] ++ lib.optionals stdenv.isLinux [
+      ] ++ lib.optionals stdenv.hostPlatform.isLinux [
         autoPatchelfHook
       ];
       buildInputs = [