mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-15 22:28:00 +00:00
steam/fhsenv: Add LD_LIBRARY_PATH (and hence OpenGL driver library path) to output of --print-steam-runtime-library-paths
This commit is contained in:
parent
b83e5b85bd
commit
0127c29713
@ -60,7 +60,7 @@ let
|
||||
#!${runtimeShell}
|
||||
runtime_paths="/lib32:/lib64:${lib.concatStringsSep ":" ldPath}"
|
||||
if [ "$1" == "--print-steam-runtime-library-paths" ]; then
|
||||
echo "$runtime_paths"
|
||||
echo "$runtime_paths''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"
|
||||
exit 0
|
||||
fi
|
||||
export LD_LIBRARY_PATH="$runtime_paths''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"
|
||||
|
Loading…
Reference in New Issue
Block a user