From 9acdab85e2e673229aec88a84023b74a3e2114a2 Mon Sep 17 00:00:00 2001 From: Herwig Hochleitner Date: Sun, 14 Jul 2019 02:43:12 +0200 Subject: steam: add /lib32 and /lib64 to ldpath in chroot --- pkgs/games/steam/chrootenv.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/games/steam') 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" "$@" ''; }; -- cgit 1.4.1