From 721ea006a841176e6045b479e2d44ed2b47ed3d0 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Fri, 15 Jan 2021 10:22:13 -0800 Subject: [PATCH] steam-fhsenv: don't unshare pid 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. --- pkgs/games/steam/fhsenv.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/games/steam/fhsenv.nix b/pkgs/games/steam/fhsenv.nix index 4c57ce9aeb02..b61eae6853b7 100644 --- a/pkgs/games/steam/fhsenv.nix +++ b/pkgs/games/steam/fhsenv.nix @@ -284,6 +284,11 @@ in buildFHSUserEnv rec { # 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; + passthru.run = buildFHSUserEnv { name = "steam-run";