mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 03:12:51 +00:00
Merge pull request #250507 from K900/heroic-wayland-ime
heroic: enable Wayland IME support
This commit is contained in:
commit
2e2d3d1080
@ -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"
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user