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
This commit is contained in:
Luna Nova 2022-10-28 20:22:07 -07:00 committed by Jonathan Ringer
parent 353371d98c
commit 07912c408a

View file

@ -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