about summary refs log tree commit diff
path: root/pkgs/development/mobile/androidenv/patcher.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/mobile/androidenv/patcher.nix')
-rw-r--r--pkgs/development/mobile/androidenv/patcher.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/mobile/androidenv/patcher.nix b/pkgs/development/mobile/androidenv/patcher.nix
index c0252839cf23..f525033d236a 100644
--- a/pkgs/development/mobile/androidenv/patcher.nix
+++ b/pkgs/development/mobile/androidenv/patcher.nix
@@ -2,7 +2,7 @@
 
 deployAndroidPackage {
   inherit package os;
-  nativeBuildInputs = lib.optionals stdenv.isLinux [ autoPatchelfHook ];
+  nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ autoPatchelfHook ];
   patchInstructions = lib.optionalString (os == "linux") ''
     autoPatchelf $packageBaseDir/bin
   '';