From f162839a1eda1a79df211c56660faf051d9511b9 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Tue, 8 Dec 2020 18:04:49 -0800 Subject: [PATCH] steam: fix electron launchers --- pkgs/games/steam/fhsenv.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/games/steam/fhsenv.nix b/pkgs/games/steam/fhsenv.nix index ecd318e64c66..34b2fe198539 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