androidStudioPackages.{stable,beta,canary,dev}: Fix LLDB debugger
This commit is contained in:
parent
a6e5607595
commit
3c350e4b75
@ -35,6 +35,7 @@
|
|||||||
, libXrender
|
, libXrender
|
||||||
, libXtst
|
, libXtst
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
|
, ncurses5
|
||||||
, nspr
|
, nspr
|
||||||
, nss
|
, nss
|
||||||
, pciutils
|
, pciutils
|
||||||
@ -141,9 +142,18 @@ let
|
|||||||
]}" \
|
]}" \
|
||||||
--set QT_XKB_CONFIG_ROOT "${xkeyboard_config}/share/X11/xkb" \
|
--set QT_XKB_CONFIG_ROOT "${xkeyboard_config}/share/X11/xkb" \
|
||||||
--set FONTCONFIG_FILE ${fontsConf}
|
--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 {
|
desktopItem = makeDesktopItem {
|
||||||
name = drvName;
|
name = drvName;
|
||||||
exec = pname;
|
exec = pname;
|
||||||
@ -161,7 +171,7 @@ let
|
|||||||
fhsEnv = buildFHSUserEnv {
|
fhsEnv = buildFHSUserEnv {
|
||||||
name = "${drvName}-fhs-env";
|
name = "${drvName}-fhs-env";
|
||||||
multiPkgs = pkgs: [
|
multiPkgs = pkgs: [
|
||||||
pkgs.ncurses5
|
ncurses5
|
||||||
|
|
||||||
# Flutter can only search for certs Fedora-way.
|
# Flutter can only search for certs Fedora-way.
|
||||||
(runCommand "fedoracert" {}
|
(runCommand "fedoracert" {}
|
||||||
|
Loading…
Reference in New Issue
Block a user