Commit Graph

606 Commits

Author SHA1 Message Date
someplaceguy
b0ed1e14d1 dotnet_{8,9}.stage0.vmr: fix build failure due to compiler optimizations
Building dotnet_{8,9}.stage0.vmr when using a non-standard
nixpkgs.localSystem.gcc.arch system config value (such as "znver1")
can lead to the following issue: dotnet/runtime#109611

This PR applies the fix in dotnet/runtime#110554 to dotnet_9 and also
backports it to dotnet_8.

dotnet_10 doesn't need this patch because it's already upstreamed.

Fixes #414786
2025-06-30 16:13:34 -03:00
David McFarland
efeeb8cd2c dotnetCorePackages.dotnet_10.vmr: 10.0.0-preview.4 -> 10.0.0-preview.5 2025-06-13 16:11:01 -03:00
David McFarland
992097b1b2 dotnetCorePackages.sdk_10_0-bin: 10.0.100-preview.4.25258.110 -> 10.0.100-preview.5.25277.114 2025-06-12 20:26:20 -03:00
David McFarland
d31ec4cd43 dotnetCorePackages.dotnet_9.vmr: 9.0.5 -> 9.0.6 2025-06-12 20:26:20 -03:00
David McFarland
95e572e334 dotnetCorePackages.sdk_9_0-bin: 9.0.300 -> 9.0.301 2025-06-12 20:26:20 -03:00
David McFarland
8e924d207b dotnetCorePackages.dotnet_8.vmr: 8.0.16 -> 8.0.17 2025-06-12 20:26:20 -03:00
David McFarland
07a0374c57 dotnetCorePackages.sdk_8_0-bin: 8.0.409 -> 8.0.411 2025-06-12 20:26:20 -03:00
David McFarland
812074ec6c dotnetCorePackages.dotnet_{8..10}.vmr: improve error handling in fetch-deps 2025-06-12 20:26:20 -03:00
David McFarland
28ca61fbbb dotnetCorePackages.dotnet_{8..10}.vmr: fallback to bootstrap pre-release with same sdk version
This is necessary because there aren't official releases of all the SDKs
listed in global.json.
2025-06-12 20:26:20 -03:00
David McFarland
ebdae8aa4a dotnetCorePackages.dotnet_{8..10}.vmr: ignore dotnet audit errors in fetch-deps 2025-06-12 20:26:20 -03:00
Peder Bergebakken Sundt
97262ee871 treewide: replace stdenv.is with stdenv.hostPlatform.is 2025-06-04 19:01:03 +02:00
David McFarland
fcd9bd8793 dotnetCorePackages.dotnet_10.vmr: 10.0.0-preview.3 -> 10.0.0-preview.4 2025-05-22 18:21:35 -03:00
David McFarland
e544936ad4 dotnetCorePackages.dotnet_9.vmr: 9.0.4 -> 9.0.5 2025-05-22 18:21:35 -03:00
David McFarland
96db495c54 dotnetCorePackages.dotnet_8.vmr: 8.0.15 -> 8.0.16 2025-05-22 18:21:35 -03:00
David McFarland
17cadaa620 dotnetCorePackages.sdk_10_0-bin: 10.0.100-preview.3.25201.16 -> 10.0.100-preview.4.25258.110 2025-05-22 18:21:35 -03:00
David McFarland
1773a1438c dotnetCorePackages.sdk_9_0-bin: 9.0.203 -> 9.0.300 2025-05-22 18:21:35 -03:00
David McFarland
841d727e57 dotnetCorePackages.sdk_8_0-bin: 8.0.408 -> 8.0.409 2025-05-22 18:21:35 -03:00
David McFarland
b0fd9b0638 dotnet: add darwin.ICU dependency to AOT test
This dependency seems to have been removed accidentally along with the
framework dependencies in #398707, so the test has been broken since
then.

Fixes: dd0f03a56c
2025-05-22 18:21:35 -03:00
David McFarland
a103a71168 dotnet/update.sh: use absolute output path 2025-05-21 14:54:36 -03:00
David McFarland
06fd6358a1 dotnet: pipe update outputs to stderr 2025-05-21 14:54:36 -03:00
Konrad Malik
70619b3b29 dotnet: expose update.sh under generate-dotnet-sdk 2025-05-16 10:06:25 +02:00
nixpkgs-ci[bot]
8639599e86 Merge master into staging-next 2025-04-29 00:16:22 +00:00
David McFarland
289fe2c0aa dotnet-sdk: limit code signing to osx targets
This stops the SDK from trying to sign executables for other platforms.

Fixes: #400862
2025-04-27 10:58:15 -03:00
Ihar Hrachyshka
dd0f03a56c treewide: remove usage of deprecated apple_sdk framework stubs
They are not doing anything right now. This is in preparation for their
complete removal from the tree.

Note: several changes that affect the derivation inputs (e.g. removal of
references to stub paths in build instructions) were left out. They will
be cleaned up the next iteration and will require special care.

Note: this PR is a result of a mix of ugly regex (not AST) based
automation and some manual labor. For reference, the regex automation
part was hacked in: https://github.com/booxter/nix-clean-apple_sdk

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
2025-04-19 20:28:20 -04:00
David McFarland
0159ddabe6 dotnet: implement autoPatchcilHook (#373107) 2025-04-16 09:20:39 -03:00
David McFarland
bee6e9aa17 dotnet: april 2025 updates (#397756) 2025-04-12 10:06:22 -03:00
David McFarland
700e5d898d dotnetCorePackages.sdk_10_0-bin: 10.0.100-preview.2.25164.34 -> 10.0.100-preview.3.25201.16 2025-04-11 21:20:22 -03:00
David McFarland
11dac07613 dotnetCorePackages.dotnet_10.vmr: 10.0.0-preview.2 -> 10.0.0-preview.3 2025-04-11 21:20:22 -03:00
David McFarland
f14a52c81d dotnetCorePackages.dotnet_9.vmr: 9.0.3 -> 9.0.4 2025-04-11 21:20:22 -03:00
David McFarland
df2521f479 dotnetCorePackages.dotnet_8.vmr: 8.0.14 -> 8.0.15 2025-04-11 21:20:22 -03:00
David McFarland
9ccf77ef21 dotnetCorePackages.sdk_8_0-bin: 8.0.407 -> 8.0.408 2025-04-11 21:20:22 -03:00
David McFarland
c1504f7f73 dotnetCorePackages.sdk_9_0-bin: 9.0.202 -> 9.0.203 2025-04-11 21:20:22 -03:00
David McFarland
a38bbfcead dotnetCorePackages.dotnet_{8,9,10}.aspnetcore: copy App package only
In dotnet 10, aspnetcore-runtime now includes dotnet-runtime as well.
Previously it only included the App package.  This allows the builder to
work with all versions.
2025-04-11 21:20:22 -03:00
David McFarland
be9c47e301 dotent/update.sh: ignore new apphost-pack and targeting-pack releases 2025-04-11 21:20:22 -03:00
David McFarland
cbdad8704f dotnet/update.sh: set inherit_errexit 2025-04-11 21:20:22 -03:00
GGG
84aa2c4d8e dotnetCorePackages.autoPatchcilHook: init 2025-04-10 10:06:57 -03:00
David McFarland
6dda3fc826 dotnetCorePackages.combinePackages: add "metadata" to linked paths (#396181) 2025-04-10 08:50:35 -03:00
Thomas Berryhill
db305a78b7 dotnetCorePackages.combinePackages: add "metadata" to linked paths
This enables users of `dotnetCorePackages.combinePackages` to install
.NET workloads.
2025-04-09 20:09:21 -04:00
js6pak
86b2ae1989 dotnet-sdk-setup-hook: add nuget.org as a package source when there is no <clear/> 2025-04-05 00:46:33 +02:00
Silvan Mosberger
374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
David McFarland
cf95c2ecdd dotnet-sdk_10: update and related fixes (#391557) 2025-03-23 10:22:48 -03:00
R. Ryantm
8573a32146 dotnetCorePackages.sdk_9_0-bin: 9.0.201 -> 9.0.202 2025-03-20 22:29:05 +00:00
David McFarland
6838868762 dotnetCorePackages.dotnet_10.vmr: 10.0.0-preview.1 -> 10.0.0-preview.2 2025-03-20 13:29:03 -03:00
David McFarland
e2c22aab92 dotnetCorePackages.sdk_10_0-bin: 10.0.100-preview.1.25120.13 -> 10.0.100-preview.2.25164.34 2025-03-20 11:11:38 -03:00
David McFarland
5aa21e55bb dotnet: clear $HOME when calling --info or --version
https://github.com/dotnet/sdk/pull/46349
2025-03-20 11:11:38 -03:00
David McFarland
75bd758a77 dotnet-sdk_8: fix AOT on darwin 2025-03-20 09:41:06 -03:00
David McFarland
649da5f9a2 dotnetCorePackages.combinePackages: propagate darwin sandbox profile 2025-03-20 09:41:06 -03:00
David McFarland
617376fbb1 dotnet: disable prerelease updates for dotnet 9 2025-03-20 09:41:06 -03:00
David McFarland
7b1684d7d9 dotnet: improve jq error handling in update scripts 2025-03-20 09:41:06 -03:00
David McFarland
f67cb27de2 dotnetCorePackages.dotnet_9.vmr: 9.0.2 -> 9.0.3 2025-03-18 16:07:11 -03:00