about summary refs log tree commit diff
path: root/pkgs/games/steam
diff options
context:
space:
mode:
authorK900 <me@0upti.me>2023-06-08 10:56:49 +0300
committerK900 <me@0upti.me>2023-06-08 10:56:49 +0300
commitd7e5c6deaa9f62ad9900877bc0c368fcf96f91eb (patch)
treee836b7123d249f4276e06767544a2a7afe586f1b /pkgs/games/steam
parentf09cd3b7de97224518dbded5af5fcf857aec1ee5 (diff)
steam: add attr to fhsenv
Diffstat (limited to 'pkgs/games/steam')
-rw-r--r--pkgs/games/steam/fhsenv.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/games/steam/fhsenv.nix b/pkgs/games/steam/fhsenv.nix
index deca89e5010df..9c47570b1dd8d 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=<bunch of runtime stuff>:/usr/lib:<etc>
+    # 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