From e2700c1bce733351feecf677216579bae48b84a4 Mon Sep 17 00:00:00 2001 From: Atemu Date: Sun, 16 Apr 2023 13:14:49 +0200 Subject: [PATCH 1/2] steam: add udev to non-game-sepcific deps for SteamVR SteamVR is arguably part of Steam and udev should already exist on every system anyways, so closure size increase is minimal. --- pkgs/games/steam/fhsenv.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/games/steam/fhsenv.nix b/pkgs/games/steam/fhsenv.nix index 8d461104eaac..5bf7972a6d90 100644 --- a/pkgs/games/steam/fhsenv.nix +++ b/pkgs/games/steam/fhsenv.nix @@ -131,6 +131,9 @@ in buildFHSUserEnv rec { tbb zlib + # SteamVR + udev + # Other things from runtime glib gtk2 @@ -177,7 +180,6 @@ in buildFHSUserEnv rec { xorg.xkeyboardconfig xorg.libpciaccess xorg.libXScrnSaver # Dead Cells - udev # Shadow of the Tomb Raider icu # dotnet runtime, e.g. Stardew Valley # screeps dependencies From b4b7c759b63bb2e57b8f70b4b4879144fbffcc11 Mon Sep 17 00:00:00 2001 From: Atemu Date: Sun, 16 Apr 2023 13:24:42 +0200 Subject: [PATCH 2/2] steam: add xdg-user-dirs to suppress log spam --- pkgs/games/steam/fhsenv.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/games/steam/fhsenv.nix b/pkgs/games/steam/fhsenv.nix index 5bf7972a6d90..0536bca4a7d9 100644 --- a/pkgs/games/steam/fhsenv.nix +++ b/pkgs/games/steam/fhsenv.nix @@ -29,6 +29,9 @@ let procps usbutils + # It tries to execute xdg-user-dir and spams the log with command not founds + xdg-user-dirs + # electron based launchers need newer versions of these libraries than what runtime provides mesa sqlite