K900
87cbfcba1c
Merge remote-tracking branch 'origin/staging-next' into staging
2024-09-17 21:07:02 +03:00
David McFarland
e6e2f9307e
dotnet-sdk-setup-hook.sh: add linkNuGetPackagesAndSources
...
linkNugetPackages and linkNuGetPackagesAndSources can now be disabled by
setting them to false.
linkNugetPackages will use _linkPackages, which is much faster.
2024-09-17 01:14:27 -03:00
David McFarland
e7fb591c92
dotnet-sdk-setup-hook: configure nuget in sourceRoot
...
Instead of creating a nuget.config in NIX_BUILD_TOP, and depending on
inheritance from sourceRoot, we'll make the required changes directly in
the latter. This fixes packages where sourceRoot is NIX_BUILD_TOP.
2024-09-17 01:12:12 -03:00
David McFarland
a0c5f2662d
nuget-package-hook: unpack nuspec as lower-case
...
Some obscure build things, like in the msbuild package, assume that the
nuspec files are lower-case.
2024-09-17 01:12:12 -03:00
David McFarland
ce92a4277e
dotnet-sdk-setup-hook: run pre/postConfigureNuGet hooks
2024-09-17 01:12:12 -03:00
David McFarland
65b556ed83
dotnetCorePackages.patchNupkgs: explicitly reference patchelf
2024-09-17 01:12:12 -03:00
David McFarland
7f726285b0
dotnet: use bash instead of tr to downcase package ids
2024-09-17 01:12:12 -03:00
David McFarland
6097d6e202
nuget-package-hook: use sub-shell to set nullglob
2024-09-17 01:12:12 -03:00
David McFarland
bfa7bef5ec
dotnet-sdk-setup-hook: fix _linkPackages when src is empty
2024-09-17 01:12:12 -03:00
David McFarland
b1685747a7
nuget-package-hook: move package unpacking from buildDotnetModule
2024-09-17 01:12:11 -03:00
David McFarland
1d4d0d3db7
nuget-to-nix: use dotnet from PATH
...
The dotnet sdk used usually needs to match the one required by the
project (global.json). Having the dependcy in nix just meant it always
had to be overridden.
2024-09-17 01:12:11 -03:00
David McFarland
773cc0de74
dotnet-sdk-setup-hook: move nuget configuration from dotnetBuildModule
2024-09-17 01:12:11 -03:00
David McFarland
60eb0db2ab
dotnet-sdk-setup-hook: add trailing slashes to NUGET_PACKAGES vars
2024-09-17 01:12:11 -03:00
David McFarland
b01ca64670
dotnet-sdk-setup-hook: remove redundant quotes
2024-09-17 01:12:11 -03:00
David McFarland
f820d2cf3c
dotnetCorePackages: split fetch-deps logic into addNuGetDeps
2024-09-17 01:12:11 -03:00
github-actions[bot]
1eb2a0e2d5
Merge staging-next into staging
2024-09-16 18:04:57 +00:00
David McFarland
bcc99eb197
dotnet: 9.0.0-preview.7 -> 9.0.0-rc.1
2024-09-16 09:02:56 -03:00
Philip Taron
4160ccc634
treewide: handle *Phases variables __structuredAttrs-agnostically ( #339117 )
2024-09-07 09:17:57 -07:00
David McFarland
ffe79ab08d
dotnet: expose stage0 vmr derivations ( #326815 )
2024-09-07 09:00:28 -03:00
David McFarland
6c5a9e5a43
dotnet-sdk-setup-hook: use temporary symlink dir for NUGET_FALLBACK_PACKAGES
...
Restore operations get extremely slow when there are a lot of paths in
NUGET_FALLBACK_PACKAGES.
2024-09-06 16:05:19 -03:00
David McFarland
2563bd752c
dotnet-sdk-setup-hook: make shell vars local
2024-09-06 16:05:19 -03:00
David McFarland
e5cb52bd58
buildDotnetGlobalTool: move into dotnetCorePackages
2024-09-06 16:05:19 -03:00
David McFarland
5b31367e13
buildDotnetModule: move into dotnetCorePackages
2024-09-06 16:05:19 -03:00
David McFarland
7ea78aaf5a
dotnetCorePackages.fetchNupkg: split from mkNugetDeps
2024-09-05 23:46:23 -03:00
David McFarland
d4776214f7
mkNugetSource/Deps: move into dotnetCorePackages
2024-09-05 23:46:23 -03:00
David McFarland
04686b6b28
dotnet: add .nupkg.metadata to VMR packages
...
This fixes nuget-to-nix in projects that use the source-built sdk and
`linkNugetPackages`.
2024-09-05 22:47:39 -03:00
David McFarland
9a14832d2e
dotnet: fix fetch-deps in paket projects
2024-09-05 22:47:38 -03:00
Yueh-Shun Li
5d42a8b38c
treewide: handle preConfigurePhases __structuredAttrs-agnostically
...
Always specify the preConfigurePhases attribute as a list instead of a
string.
Append elements to the preConfigurePhases Bash variable using
appendToVar instead of string or Bash array concatenation.
2024-09-03 05:33:59 +08:00
Yueh-Shun Li
21c0129841
treewide: handle prePhases __structuredAttrs-agnostically
...
Always specify the prePhases attribute as a list instead of a string.
Append elements to the prePhases Bash variable using appendToVar
instead of string or Bash array concatenation.
2024-09-03 05:33:59 +08:00
github-actions[bot]
1f86c1b2e8
Merge master into staging-next
2024-08-23 18:04:09 +00:00
K900
5c68540f8b
Merge remote-tracking branch 'origin/staging-next' into staging
2024-08-22 13:20:38 +03:00
David McFarland
858f0456cf
dotnet-sdk: disable msbuild terminal logger
...
This fixes intermittent ArgumentOutOfRangeExceptions when building
certain packages (e.g. roslyn-ls).
2024-08-21 11:38:32 -03:00
David McFarland
39db502492
dotnet: 9.0.0-preview.6 -> 9.0.0-preview.7
2024-08-20 17:49:24 -03:00
David McFarland
f5cb52f553
dotnet: 8.0.7 -> 8.0.8
2024-08-19 19:48:18 -03:00
David McFarland
e66920030f
dotnet: 6.0.32 -> 6.0.33
2024-08-19 15:03:18 -03:00
Philip Taron
418495c4f9
dotnet: remove with statements
2024-08-18 06:31:14 -07:00
Elliot Cameron
28290731fb
dotnet: use krb5 lib output
2024-08-17 00:56:19 -04:00
Sigmanificient
63d05d989e
pkgs/development: remove unused arguments
2024-08-03 17:18:20 +02:00
David McFarland
d3ca5027fa
dotnet: use unpacked nuget packages
2024-07-31 00:47:14 -03:00
Randy Eckenrode
f9b7f4ec09
tree-wide: use top-level cctools
2024-07-17 22:36:19 -04:00
toonn
c3c5870e96
Merge pull request #307880 from reckenrode/ld64
...
cctools: 973.0.1 -> 1010.6
2024-07-17 08:22:14 +02:00
Randy Eckenrode
ca92415e87
dotnet: use dwarfdump from darwin.binutils
2024-07-13 17:54:36 -04:00
David McFarland
10ec056013
dotnet: 6.0.31 -> 6.0.32
2024-07-13 10:22:43 -03:00
David McFarland
9a87d1b6de
dotnet: 9.0.0-preview.5 -> 9.0.0-preview.6
2024-07-13 10:22:43 -03:00
David McFarland
6fbc62574c
dotnet: 8.0.6 -> 8.0.7
2024-07-13 10:22:43 -03:00
David McFarland
36590a42fe
dotnet: expose stage0 vmr derivations
...
This is only meant to be a helper for testing, so recursion is disabled.
2024-07-13 09:50:13 -03:00
David McFarland
77bc2008a8
dotnet: use dwarfdump from cctools-llvm
...
At some point cctools changed from cctools-llvm to cctools-port, and
this broke dotnet.
2024-07-13 03:02:49 +00:00
David McFarland
f535b0c661
dotnet: add aot test
2024-07-07 19:22:19 -03:00
David McFarland
1532eab9b9
patch-nupkgs: fix ilcompiler on darwin
2024-07-07 19:22:19 -03:00
David McFarland
f364437d7b
dotnet: add runtime.osx-arm64.Microsoft.DotNet.ILCompiler
2024-07-07 19:22:19 -03:00