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:
parent
353371d98c
commit
07912c408a
|
@ -126,6 +126,15 @@ in buildFHSUserEnv {
|
||||||
ln -sf ${lutris-unwrapped}/share/icons $out/share
|
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 = {
|
meta = {
|
||||||
inherit (lutris-unwrapped.meta)
|
inherit (lutris-unwrapped.meta)
|
||||||
homepage
|
homepage
|
||||||
|
|
Loading…
Reference in a new issue