From d7e5c6deaa9f62ad9900877bc0c368fcf96f91eb Mon Sep 17 00:00:00 2001 From: K900 Date: Thu, 8 Jun 2023 10:56:49 +0300 Subject: [PATCH] steam: add attr to fhsenv --- pkgs/games/steam/fhsenv.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/games/steam/fhsenv.nix b/pkgs/games/steam/fhsenv.nix index deca89e5010d..9c47570b1dd8 100644 --- a/pkgs/games/steam/fhsenv.nix +++ b/pkgs/games/steam/fhsenv.nix @@ -168,6 +168,13 @@ in buildFHSEnv rec { librsvg xorg.libXft libvdpau + + # required by coreutils stuff to run correctly + # Steam ends up with LD_LIBRARY_PATH=:/usr/lib: + # which overrides DT_RUNPATH in our binaries, so it tries to dynload the + # very old versions of stuff from the runtime. + # FIXME: how do we even fix this correctly + attr ] ++ lib.optionals withGameSpecificLibraries [ # Not formally in runtime but needed by some games at-spi2-atk