[dotnet-host] should not bundle /etc/profile.d/dotnet.sh
Description:
dotnet-host should not be bundling this profile environment setting script, as the dev system already has default paths configured, has other means of configuring the necessary paths, and these environment variables interfere with Wine/Proton games.
As sourced from others in a discussion on LGD:
DOTNET_ROOT
already defaults to/usr/share/dotnet
if unset, and distributions shouldn't override this via environment variable, they should use/etc/dotnet/install_location
file instead. Arch doesn't have to because it's already in the correct location.
And:
Setting
DOTNET_BUNDLE_EXTRACT_BASE_DIR
, but only when the .NET is installed, is not only strange because it will not affect .NET bundles extracted on machines without .NET installed but also attempts to fix an issue that no longer exists (because bundles now extract to$HOME/.net
link which is not XDG spec compliant, sure, but doesn't cause any issues by itself)
Additional info:
- package version(s)
- dotnet-host 8.0.0.sdk100-1
Steps to reproduce:
- Install dotnet-sdk and dotnet-host on system
- Reboot
- Log into session
- Attempt to install or run Fall Guys on Steam
It doesn't happen with the current version of Heroic Games Launcher running the game from the Epic Games Store, because their current version of the launcher now has a workaround to unset these environment variables before launching the game.