New comment by tesfaye on void-packages repository https://github.com/void-linux/void-packages/pull/20147#issuecomment-602138138 Comment: Instead of setting DOTNET_ROOT, we could could store the install directory in /etc/dotnet/install_location. https://docs.microsoft.com/en-us/dotnet/core/distribution-packaging