Commit 07912c40 authored by Luna Nova's avatar Luna Nova Committed by Jonathan Ringer
Browse files

lutris: set unshareIpc and unsharePid to false

This copies a workaround required for steam, as the same issue occurs in lutris.

See https://github.com/NixOS/nixpkgs/pull/109466

Fixes battle.net client crashing on startup and overwatch crashing.

Fixes https://github.com/NixOS/nixpkgs/issues/195126
parent 353371d9
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -126,6 +126,15 @@ in buildFHSUserEnv {
    ln -sf ${lutris-unwrapped}/share/icons $out/share
  '';

  # allows for some gui applications to share IPC
  # this fixes certain issues where they don't render correctly
  unshareIpc = false;

  # Some applications such as Natron need access to MIT-SHM or other
  # shared memory mechanisms. Unsharing the pid namespace
  # breaks the ability for application to reference shared memory.
  unsharePid = false;

  meta = {
    inherit (lutris-unwrapped.meta)
      homepage