nongnu: dotnet: Add dotnet-7
Hello,
This should package version 7 of the Microsoft .NET SDK for Nonguix. I don't know exactly how to test this, so if others have suggestions for tests or edits, please provide them. I'm also happy to rebase and whatnot as necessary to make everything play nicely and have a clean history.
There are two commits in this MR. The first renames the extant dotnet
to dotnet-6
and adds a new dotnet
variable pointing to dotnet-6
. The second actually packages dotnet-7
.
Because of how patchelf-plan
is written for dotnet-6
, I had to copy-and-paste quite a few lines of code. I don't particularly like this, so recommendations for a better approach would be most welcome.
- nongnu/packages/dotnet.scm (dotnet-6): Rename dotnet to dotnet-6.
- nongnu/packages/dotnet.scm (dotnet): Add dotnet poining to dotnet-6.
- nongnu/packages/dotnet.scm (dotnet-7): Add dotnet-7.