Commit Graph

18 Commits

Author SHA1 Message Date
github-actions[bot]
ce44139ef1
Merge master into staging-next 2024-09-25 06:04:53 +00:00
David McFarland
ae7b2ae6ee dotnet-sdk-setup-hook: fix typo in cd 2024-09-24 20:43:24 -03:00
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
ce92a4277e dotnet-sdk-setup-hook: run pre/postConfigureNuGet hooks 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
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
Philip Taron
4160ccc634
treewide: handle *Phases variables __structuredAttrs-agnostically (#339117) 2024-09-07 09:17:57 -07: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
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
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
d3ca5027fa dotnet: use unpacked nuget packages 2024-07-31 00:47:14 -03:00