Merge pull request #250507 from K900/heroic-wayland-ime

heroic: enable Wayland IME support
This commit is contained in:
K900 2023-08-26 11:07:50 +03:00 committed by GitHub
commit 2e2d3d1080
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -93,7 +93,7 @@ in stdenv.mkDerivation rec {
--inherit-argv0 \
--add-flags --disable-gpu-compositing \
--add-flags $out/share/${appName} \
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}"
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime}}"
substituteInPlace "$out/share/${appName}/flatpak/com.heroicgameslauncher.hgl.desktop" \
--replace "Exec=heroic-run" "Exec=heroic"

View file

@ -12,6 +12,9 @@ buildFHSEnv {
# Many Wine and native games need 32-bit libraries.
multiArch = true;
# required by Electron
unshareIpc = false;
targetPkgs = pkgs: with pkgs; [
heroic-unwrapped
gamemode