DotNET: Difference between revisions

imported>WhiteBlackGoose
Added a workaround for declarative global .net tool installations
imported>WhiteBlackGoose
m Links fixed
Line 160: Line 160:
== Global Tools ==
== Global Tools ==


There is currently no mechanism to install them globally, and regular (mutable) installation [does not work](https://github.com/dotnet/sdk/issues/30546).
There is currently no mechanism to install them globally, and regular (mutable) installation [https://github.com/dotnet/sdk/issues/30546 does not work].


[Here](https://github.com/WhiteBlackGoose/dotfiles/blob/3f7d1b508f75ea87b8f36f3e2be0e2db1f4241c1/envs/dotnet-tool.nix) is a proof of concept of how .NET tools could be used declaratively.
[https://github.com/WhiteBlackGoose/dotfiles/blob/3f7d1b508f75ea87b8f36f3e2be0e2db1f4241c1/envs/dotnet-tool.nix Here] is a proof of concept of how .NET tools could be used declaratively.


Here's an example of using that package:
Here's an example of using that package: