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" ''
|
runSh = writeScript "run.sh" ''
|
||||||
#!${runtimeShell}
|
#!${runtimeShell}
|
||||||
runtime_paths="${lib.concatStringsSep ":" ldPath}"
|
runtime_paths="/lib32:/lib64:${lib.concatStringsSep ":" ldPath}"
|
||||||
if [ "$1" == "--print-steam-runtime-library-paths" ]; then
|
if [ "$1" == "--print-steam-runtime-library-paths" ]; then
|
||||||
echo "$runtime_paths"
|
echo "$runtime_paths"
|
||||||
exit 0
|
exit 0
|
||||||
@ -246,7 +246,7 @@ in buildFHSUserEnv rec {
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
shift
|
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" "$@"
|
exec -- "$run" "$@"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user