steam: add /lib32 and /lib64 to ldpath in chroot
This commit is contained in:
parent
47824cdf4d
commit
9acdab85e2
@ -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" "$@"
|
||||
'';
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user