Dotnet-script, libhostfxr.so not found

ok, it works if I do this:

export DOTNET_ROOT=/nix/store/3axaxgbragp3zhb20i2swfqdwdnl1b3v-dotnet-sdk-6.0.300/

, but shouldn’t this be set by the installation of dotnet?

I installed dotnet-script non declarative, though:

dotnet tool install -g dotnet-script

Maybe it should’ve been installed declaratively? If so, how?:wink: