about summary refs log tree commit diff
path: root/pkgs/by-name/an/android-studio-tools/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/an/android-studio-tools/package.nix')
-rw-r--r--pkgs/by-name/an/android-studio-tools/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/an/android-studio-tools/package.nix b/pkgs/by-name/an/android-studio-tools/package.nix
index 06af624a8e26..2b1bca479841 100644
--- a/pkgs/by-name/an/android-studio-tools/package.nix
+++ b/pkgs/by-name/an/android-studio-tools/package.nix
@@ -19,7 +19,7 @@ stdenvNoCC.mkDerivation {
 
   postPatch = ''
     find . -type f -not -path "./bin/*" -exec chmod -x {} \;
-  '' + lib.optionalString stdenvNoCC.isDarwin ''
+  '' + lib.optionalString stdenvNoCC.hostPlatform.isDarwin ''
     for f in cmdline-tools/bin/*; do
       sed -i 's|start up script for Linux|start up script for Mac|' $f
     done