diff options
author | Kevin Cox <kevincox@kevincox.ca> | 2021-02-09 19:22:18 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-09 19:22:18 -0500 |
commit | 9b9e31e3c51da88e6676094e974aa633e8bd7ad2 (patch) | |
tree | 17dc3d0be346c96a887b7723fada1bf9c25fb94f /pkgs/applications/editors | |
parent | c8b29f075fd1d8cc7f2ac215147ac0dd7c2498cf (diff) | |
parent | 3c350e4b75fdf8d210d5369a2120d58763ffe7fd (diff) |
Merge pull request #112349 from IvarWithoutBones/android-studio-debugger
androidStudioPackages.{stable,beta,canary,dev}: Fix LLDB debugger
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r-- | pkgs/applications/editors/android-studio/common.nix | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/pkgs/applications/editors/android-studio/common.nix b/pkgs/applications/editors/android-studio/common.nix index 0ce0a37d876fc..b760e83f8eea7 100644 --- a/pkgs/applications/editors/android-studio/common.nix +++ b/pkgs/applications/editors/android-studio/common.nix @@ -35,6 +35,7 @@ , libXrender , libXtst , makeWrapper +, ncurses5 , nspr , nss , pciutils @@ -141,9 +142,18 @@ let ]}" \ --set QT_XKB_CONFIG_ROOT "${xkeyboard_config}/share/X11/xkb" \ --set FONTCONFIG_FILE ${fontsConf} + + # AS launches LLDBFrontend with a custom LD_LIBRARY_PATH + wrapProgram $out/bin/lldb/bin/LLDBFrontend --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ + ncurses5 + zlib + ]}" ''; }; + # 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; @@ -161,7 +171,7 @@ let fhsEnv = buildFHSUserEnv { name = "${drvName}-fhs-env"; multiPkgs = pkgs: [ - pkgs.ncurses5 + ncurses5 # Flutter can only search for certs Fedora-way. (runCommand "fedoracert" {} |