buildFHSEnv: don't set LD_LIBRARY_PATH

It's a bad hack that was originally put into place for Steam, which doesn't need it anymore,
and it confuses native binaries that run from Steam.
This commit is contained in:
K900 2024-09-13 16:11:59 +03:00
parent 273673e839
commit 7014f86947

View File

@ -87,7 +87,6 @@ let
etcProfile = writeText "profile" '' etcProfile = writeText "profile" ''
export PS1='${name}-fhsenv:\u@\h:\w\$ ' export PS1='${name}-fhsenv:\u@\h:\w\$ '
export LOCALE_ARCHIVE='/usr/lib/locale/locale-archive' export LOCALE_ARCHIVE='/usr/lib/locale/locale-archive'
export LD_LIBRARY_PATH="/run/opengl-driver/lib:/run/opengl-driver-32/lib''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"
export PATH="/run/wrappers/bin:/usr/bin:/usr/sbin:$PATH" export PATH="/run/wrappers/bin:/usr/bin:/usr/sbin:$PATH"
export TZDIR='/etc/zoneinfo' export TZDIR='/etc/zoneinfo'