android-studio: add forceWayland
This commit is contained in:
@@ -67,6 +67,8 @@
|
||||
, makeDesktopItem
|
||||
, tiling_wm # if we are using a tiling wm, need to set _JAVA_AWT_WM_NONREPARENTING in wrapper
|
||||
, androidenv
|
||||
|
||||
, forceWayland ? false
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -180,7 +182,8 @@ let
|
||||
|
||||
# For wayland support
|
||||
wayland
|
||||
]}"
|
||||
]}" \
|
||||
${lib.optionalString forceWayland "--add-flags -Dawt.toolkit.name=WLToolkit"}
|
||||
|
||||
# AS launches LLDBFrontend with a custom LD_LIBRARY_PATH
|
||||
wrapProgram $(find $out -name LLDBFrontend) --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [
|
||||
|
||||
Reference in New Issue
Block a user