summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2015-07-28 00:31:49 +0300
committerNikolay Amiantov <ab@fmap.me>2015-07-28 12:33:29 +0300
commit533657332925dbc84e93b2aec04557be253009fa (patch)
tree35da51d038d31a9e4f389a68d7f0844bd1c3bcfa /pkgs
parentf5b41dbf42850aae42cbb26864a3729c9ca76172 (diff)
downloadnixpkgs-533657332925dbc84e93b2aec04557be253009fa.tar
nixpkgs-533657332925dbc84e93b2aec04557be253009fa.tar.gz
nixpkgs-533657332925dbc84e93b2aec04557be253009fa.tar.bz2
nixpkgs-533657332925dbc84e93b2aec04557be253009fa.tar.lz
nixpkgs-533657332925dbc84e93b2aec04557be253009fa.tar.xz
nixpkgs-533657332925dbc84e93b2aec04557be253009fa.tar.zst
nixpkgs-533657332925dbc84e93b2aec04557be253009fa.zip
steam: libstdc++/mesa incompatibility workaround
closes #9003
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/games/steam/chrootenv.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/games/steam/chrootenv.nix b/pkgs/games/steam/chrootenv.nix
index d1aa125169e..9eca9c127df 100644
--- a/pkgs/games/steam/chrootenv.nix
+++ b/pkgs/games/steam/chrootenv.nix
@@ -70,7 +70,9 @@ buildFHSUserEnv {
 
   profile = ''
     # Ugly workaround for https://github.com/ValveSoftware/steam-for-linux/issues/3504
-    export LD_PRELOAD=/lib32/libpulse.so:/lib64/libpulse.so:/lib32/libasound.so:/lib64/libasound.so
+    export LD_PRELOAD=/lib32/libpulse.so:/lib64/libpulse.so:/lib32/libasound.so:/lib64/libasound.so:$LD_PRELOAD
+    # Another one for https://github.com/ValveSoftware/steam-for-linux/issues/3801
+    export LD_PRELOAD=/lib32/libstdc++.so:/lib64/libstdc++.so:$LD_PRELOAD
   '';
 
   runScript = "steam";