From 2b761358a8be80d4debea314be2f8b041940be49 Mon Sep 17 00:00:00 2001 From: Yochai Date: Sun, 27 Sep 2015 16:47:14 +0300 Subject: [PATCH] steam: added libcxxabi workaround --- pkgs/games/steam/chrootenv.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/games/steam/chrootenv.nix b/pkgs/games/steam/chrootenv.nix index ffd68562dee8..af86222414be 100644 --- a/pkgs/games/steam/chrootenv.nix +++ b/pkgs/games/steam/chrootenv.nix @@ -15,6 +15,7 @@ buildFHSUserEnv { pkgs.xdg_utils pkgs.xorg.xrandr pkgs.which + pkgs.libcxxabi ] ++ lib.optional (config.steam.java or false) pkgs.jdk ++ lib.optional (config.steam.primus or false) pkgs.primus @@ -45,6 +46,8 @@ buildFHSUserEnv { pkgs.xorg.libXScrnSaver pkgs.xorg.libXtst pkgs.xorg.libXxf86vm + + pkgs.libcxxabi pkgs.ffmpeg pkgs.libpng12 @@ -74,6 +77,8 @@ buildFHSUserEnv { 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 + # An ugly fix to get Sid Meier's Civilization V to launch. + export LD_PRELOAD=/lib32/libc++abi.so:/lib64/libc++abi.so:$LD_PRELOAD ''; runScript = "steam";