about summary refs log tree commit diff
path: root/pkgs/applications/editors/android-studio
diff options
context:
space:
mode:
authorIvarWithoutBones <ivar.scholten@protonmail.com>2021-08-02 16:29:56 +0200
committerIvarWithoutBones <ivar.scholten@protonmail.com>2021-08-02 16:41:24 +0200
commit0d315b7f70a36063f177b49b3f68c1ef07abaf54 (patch)
tree45690fc0b9fd493fff6d6f194d8320b14ab61b5e /pkgs/applications/editors/android-studio
parent419f03859dba357456ecce936b386cb0658cd75e (diff)
downloadnixlib-0d315b7f70a36063f177b49b3f68c1ef07abaf54.tar
nixlib-0d315b7f70a36063f177b49b3f68c1ef07abaf54.tar.gz
nixlib-0d315b7f70a36063f177b49b3f68c1ef07abaf54.tar.bz2
nixlib-0d315b7f70a36063f177b49b3f68c1ef07abaf54.tar.lz
nixlib-0d315b7f70a36063f177b49b3f68c1ef07abaf54.tar.xz
nixlib-0d315b7f70a36063f177b49b3f68c1ef07abaf54.tar.zst
nixlib-0d315b7f70a36063f177b49b3f68c1ef07abaf54.zip
androidStudioPackages.{canary,dev}: properly fix interpreter paths of deployed scripts
Diffstat (limited to 'pkgs/applications/editors/android-studio')
-rw-r--r--pkgs/applications/editors/android-studio/common.nix11
1 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/applications/editors/android-studio/common.nix b/pkgs/applications/editors/android-studio/common.nix
index 42e3b7588afb..cc3f898a29bb 100644
--- a/pkgs/applications/editors/android-studio/common.nix
+++ b/pkgs/applications/editors/android-studio/common.nix
@@ -65,10 +65,14 @@ let
       sha256 = sha256Hash;
     };
 
-    nativeBuildInputs = [ unzip ];
-    buildInputs = [
+    nativeBuildInputs = [
+      unzip
       makeWrapper
     ];
+
+    # Causes the shebangs in interpreter scripts deployed to mobile devices to be patched, which Android does not understand
+    dontPatchShebangs = true;
+
     installPhase = ''
       cp -r . $out
       wrapProgram $out/bin/studio.sh \
@@ -152,9 +156,6 @@ let
     '';
   };
 
-  # Causes the shebangs in interpreter scripts deployed to mobile devices to be patched, which Android does not understand
-  dontPatchShebangs = true;
-
   desktopItem = makeDesktopItem {
     name = drvName;
     exec = pname;