nixpkgs/pkgs/build-support/dotnet
Raphael Robatsch d347b0400c mkNugetSource: remove mono from build closure
A directory full of *.nupkg files is a valid nuget source. We do not need mono
and the Nuget command line tool to create this structure. This has two
advantages:

- Nuget is currently broken due to a kernel bug affecting mono (#229476).
  Replacing the mkNugetSource implementation allows affected users on 6.1+
  kernels compile .NET core packages again.
- It removes mono from the build closure of .NET core packages. .NET core
  builds should not depend on .NET framework tools like mono.

There is no equivalent of the `nuget init` command in .NET core. The closest
command is `dotnet nuget push`, which just copies the *.nupkg files around
anyway, just like this PR does with `cp`.

`nuget init` used to extract the *.nuspec files from the nupkgs, this new
implementation doesn't. .NET core doesn't care, but it makes the license
extraction more difficult. What was previously done with find/grep/xml2 is now
a python script (extract-licenses-from-nupkgs.py).
2023-05-05 18:38:06 +00:00
..
build-dotnet-module Merge pull request #217587 from winterqt/build-dotnet-module-darwin-sandbox 2023-04-17 14:08:21 +00:00
build-dotnet-package
dotnetbuildhelpers dotnetbuildhelpers: move to pkgs/build-support/dotnet 2022-02-11 16:42:07 +01:00
dotnetenv dotenv: convert CRLF line endings into LF 2022-09-11 17:02:00 +02:00
fetchnuget fetchNuGet: move to pkgs/build-support/dotnet 2022-02-11 16:37:26 +01:00
make-nuget-deps make-nuget-deps: use . for version separator 2022-09-15 19:39:36 -03:00
make-nuget-source mkNugetSource: remove mono from build closure 2023-05-05 18:38:06 +00:00
nuget-to-nix buildDotnetModule: add support for using combinePackages as dotnet-sdk 2023-03-19 20:53:39 +01:00