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

authored by

Luna Nova and committed by
Jonathan Ringer
07912c40 353371d9

+9
+9
pkgs/applications/misc/lutris/fhsenv.nix
··· 126 126 ln -sf ${lutris-unwrapped}/share/icons $out/share 127 127 ''; 128 128 129 + # allows for some gui applications to share IPC 130 + # this fixes certain issues where they don't render correctly 131 + unshareIpc = false; 132 + 133 + # Some applications such as Natron need access to MIT-SHM or other 134 + # shared memory mechanisms. Unsharing the pid namespace 135 + # breaks the ability for application to reference shared memory. 136 + unsharePid = false; 137 + 129 138 meta = { 130 139 inherit (lutris-unwrapped.meta) 131 140 homepage