Commit Graph

343 Commits

Author SHA1 Message Date
js6pak
9c88243f6d dotnet: fetch hash from nuget.org in update.sh
This brings down the time needed to update one version from ~10min to ~20s for me
2024-11-17 18:35:21 -04:00
David McFarland
24570a33b5 dotnetCorePackages.dotnet_9: 9.0.0-rc.2 -> 9.0.0 2024-11-17 18:35:21 -04:00
David McFarland
df4effe419 dotnetCorePackages.dotnet_8.vmr: 8.0.10 -> 8.0.11 2024-11-17 18:35:21 -04:00
David McFarland
f2da78e1be dotnetCorePackages.sdk_9_0: 9.0.100-rc.2.24474.11 -> 9.0.100 2024-11-17 18:35:21 -04:00
David McFarland
0a5c33f88b dotnet-sdk_6: 6.0.427 -> 6.0.428 2024-11-17 18:35:21 -04:00
David McFarland
aa319c6f1e dotnet-sdk: 8.0.403 -> 8.0.404 2024-11-17 18:35:20 -04:00
David McFarland
112a4c48c6 dotnet: add passthru.runtime/aspnetcore to sdk packages 2024-11-17 14:19:25 -04:00
David McFarland
193378ead2 dotnet/update.sh: nix-hash -> nix hash convert 2024-11-17 14:19:23 -04:00
David McFarland
f9cb431d6d dotnet: fix missing targetPackages in source-built sdk packages 2024-11-17 14:19:23 -04:00
js6pak
003135da32 dotnet: run postFixup based on hostPlatform 2024-11-17 14:19:23 -04:00
David McFarland
d2d56972fc dotnet: install man pages for source-built sdk 2024-11-17 14:19:23 -04:00
David McFarland
42d69ab59a dotnet: move dotnet_root to $out/share/dotnet 2024-11-17 14:19:23 -04:00
David McFarland
ddd08e404f dotnet: split setup hooks into wrapper for runtime/sdk 2024-11-17 14:19:22 -04:00
David McFarland
6bed24773e dotnet: use stdenvNoCC for runtime/sdk 2024-11-13 16:56:24 -04:00
David McFarland
8b193a46be
dotnet: october 2024 releases (#348077) 2024-10-15 10:51:53 -03:00
David McFarland
8bf19672de dotnet: add suffix to stage0 package names 2024-10-14 18:47:32 -03:00
David McFarland
031e1d90b7 dotnet: 9.0.0-rc.1 -> 9.0.0-rc.2 2024-10-14 18:47:31 -03:00
David McFarland
1762a39930 dotnet: 8.0.8 -> 8.0.10 2024-10-14 18:47:31 -03:00
David McFarland
10caab00e5 dotnet-bin: 9.0.0-rc.1 -> 9.0.0-rc.2 2024-10-14 18:47:31 -03:00
David McFarland
8bc360991f dotnet-bin: 8.0.8 -> 8.0.10 2024-10-14 18:47:31 -03:00
David McFarland
9f96b62e23 dotnet-bin: 6.0.33 -> 6.0.35 2024-10-14 18:47:31 -03:00
David McFarland
7ec29fe50a dotnet: fix leaking gpg-agent in update script 2024-10-14 18:47:31 -03:00
David McFarland
343895ba37 dotnet: pin bootstrap SDKs used in stage0 source builds 2024-10-13 10:33:22 -03:00
David McFarland
df3bbbebcd dotnet: fix updateScript 2024-10-13 10:33:21 -03:00
David McFarland
866c50579c dotnet: fix nixfmt 2024-10-11 22:36:42 -03:00
David McFarland
3a84ed1392 dotnet: add corngood to maintainers 2024-10-08 19:47:35 -03:00
github-actions[bot]
ce44139ef1
Merge master into staging-next 2024-09-25 06:04:53 +00:00
Artturin
f0e657f3b1 Merge branch 'master' into staging-next 2024-09-25 06:05:01 +03:00
David McFarland
0774f8f9c2 dotnet: add patch to fix fetch-deps in dotnet 9 VMR 2024-09-24 20:43:24 -03:00
David McFarland
ae7b2ae6ee dotnet-sdk-setup-hook: fix typo in cd 2024-09-24 20:43:24 -03:00
David McFarland
3fb0ab6f59 dotnet: disable restore in test project creation 2024-09-24 20:43:24 -03:00
David McFarland
2c97d67f62 dotnet: split sdk packages by platform 2024-09-24 20:43:24 -03:00
David McFarland
4f47ddf1d7 dotnet: set sourceProvenance on binary runtime/sdk 2024-09-24 20:43:24 -03:00
David McFarland
6582132c12 dotnet: format with nixfmt 2024-09-24 20:43:22 -03:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
github-actions[bot]
9a6f63ebed
Merge master into staging-next 2024-09-23 18:04:34 +00:00
David McFarland
1b32f1b57c dotnet: remove nuget-package-hook from runtime packages 2024-09-23 11:44:07 -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
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