summaryrefslogtreecommitdiffstats
path: root/pkgs/games/steam/fhsenv.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/steam/fhsenv.nix')
-rw-r--r--pkgs/games/steam/fhsenv.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/games/steam/fhsenv.nix b/pkgs/games/steam/fhsenv.nix
index ecd318e64c66..d3d5b3a2271e 100644
--- a/pkgs/games/steam/fhsenv.nix
+++ b/pkgs/games/steam/fhsenv.nix
@@ -35,6 +35,10 @@ let
# Steam VR
procps
usbutils
+
+ # electron based launchers need newer versions of these libraries than what runtime provides
+ mesa
+ sqlite
] ++ lib.optional withJava jdk8 # TODO: upgrade https://github.com/NixOS/nixpkgs/pull/89731
++ lib.optional withPrimus primus
++ extraPkgs pkgs;
@@ -175,7 +179,6 @@ in buildFHSUserEnv rec {
libidn
tbb
wayland
- mesa
libxkbcommon
# Other things from runtime
@@ -265,6 +268,10 @@ in buildFHSUserEnv rec {
broken = nativeOnly;
};
+ # allows for some gui applications to share IPC
+ # this fixes certain issues where they don't render correctly
+ unshareIpc = false;
+
passthru.run = buildFHSUserEnv {
name = "steam-run";