diff options
| author | Raphael Robatsch <raphael-git@tapesoftware.net> | 2023-05-04 08:19:25 +0200 |
|---|---|---|
| committer | Raphael Robatsch <raphael-git@tapesoftware.net> | 2023-05-05 18:38:06 +0000 |
| commit | d347b0400c3ee88747e104f098d1960ece55117a (patch) | |
| tree | 292d3d5061ee92ca5eff611feefde383870eea5a /pkgs/development/python-modules/rangehttpserver | |
| parent | 8c32a5b2ce0e2b29c5d21424109539c953bca04e (diff) | |
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).
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
