diff options
Diffstat (limited to 'nixpkgs/pkgs/games/heroic')
-rw-r--r-- | nixpkgs/pkgs/games/heroic/default.nix | 2 | ||||
-rw-r--r-- | nixpkgs/pkgs/games/heroic/fhsenv.nix | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/nixpkgs/pkgs/games/heroic/default.nix b/nixpkgs/pkgs/games/heroic/default.nix index 05455ae7c7d6..ca9d5799596e 100644 --- a/nixpkgs/pkgs/games/heroic/default.nix +++ b/nixpkgs/pkgs/games/heroic/default.nix @@ -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" diff --git a/nixpkgs/pkgs/games/heroic/fhsenv.nix b/nixpkgs/pkgs/games/heroic/fhsenv.nix index 40a8ea37efae..3979b2823926 100644 --- a/nixpkgs/pkgs/games/heroic/fhsenv.nix +++ b/nixpkgs/pkgs/games/heroic/fhsenv.nix @@ -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 |