summary refs log tree commit diff
path: root/pkgs/games/steam
diff options
context:
space:
mode:
authorHerwig Hochleitner <herwig@bendlas.net>2019-07-14 02:43:12 +0200
committerHerwig Hochleitner <herwig@bendlas.net>2019-08-12 02:52:51 +0200
commit9acdab85e2e673229aec88a84023b74a3e2114a2 (patch)
treed5bd15e26c0915a9f2cde6cc60e395bb70b27d95 /pkgs/games/steam
parent47824cdf4d15c646d70998fbed4b65c7cd367718 (diff)
downloadnixpkgs-9acdab85e2e673229aec88a84023b74a3e2114a2.tar
nixpkgs-9acdab85e2e673229aec88a84023b74a3e2114a2.tar.gz
nixpkgs-9acdab85e2e673229aec88a84023b74a3e2114a2.tar.bz2
nixpkgs-9acdab85e2e673229aec88a84023b74a3e2114a2.tar.lz
nixpkgs-9acdab85e2e673229aec88a84023b74a3e2114a2.tar.xz
nixpkgs-9acdab85e2e673229aec88a84023b74a3e2114a2.tar.zst
nixpkgs-9acdab85e2e673229aec88a84023b74a3e2114a2.zip
steam: add /lib32 and /lib64 to ldpath in chroot
Diffstat (limited to 'pkgs/games/steam')
-rw-r--r--pkgs/games/steam/chrootenv.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/games/steam/chrootenv.nix b/pkgs/games/steam/chrootenv.nix
index 9f0ac916751..4a5cf4ba3bb 100644
--- a/pkgs/games/steam/chrootenv.nix
+++ b/pkgs/games/steam/chrootenv.nix
@@ -48,7 +48,7 @@ let
 
   runSh = writeScript "run.sh" ''
     #!${runtimeShell}
-    runtime_paths="${lib.concatStringsSep ":" ldPath}"
+    runtime_paths="/lib32:/lib64:${lib.concatStringsSep ":" ldPath}"
     if [ "$1" == "--print-steam-runtime-library-paths" ]; then
       echo "$runtime_paths"
       exit 0
@@ -246,7 +246,7 @@ in buildFHSUserEnv rec {
         exit 1
       fi
       shift
-      ${lib.optionalString (!nativeOnly) "export LD_LIBRARY_PATH=${lib.concatStringsSep ":" ldPath}:$LD_LIBRARY_PATH"}
+      ${lib.optionalString (!nativeOnly) "export LD_LIBRARY_PATH=/lib32:/lib64:${lib.concatStringsSep ":" ldPath}:$LD_LIBRARY_PATH"}
       exec -- "$run" "$@"
     '';
   };