about summary refs log tree commit diff
path: root/pkgs/development/mobile/gomobile/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/mobile/gomobile/default.nix')
-rw-r--r--pkgs/development/mobile/gomobile/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/mobile/gomobile/default.nix b/pkgs/development/mobile/gomobile/default.nix
index c234c81d3894..61e3bb75617c 100644
--- a/pkgs/development/mobile/gomobile/default.nix
+++ b/pkgs/development/mobile/gomobile/default.nix
@@ -26,7 +26,7 @@ buildGoModule {
   doCheck = false;
 
   nativeBuildInputs = [ makeWrapper ]
-    ++ lib.optionals stdenv.isDarwin [ xcodeWrapper ];
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [ xcodeWrapper ];
 
   # Prevent a non-deterministic temporary directory from polluting the resulting object files
   postPatch = ''