Commit Graph

606 Commits

Author SHA1 Message Date
David McFarland
791b829b32 dotnetCorePackages.combinePackages: use wrapper 2024-12-06 10:01:59 -04:00
js6pak
895b69405c dotnet: make wrappers usable as DOTNET_ROOT
This simplifies the code a bit and makes it possible to use dotnetCorePackages.combinePackages as dotnet-runtime again.
Partial revert of ddd08e404f.
2024-12-06 10:01:59 -04:00
github-actions[bot]
3a5c0e6ce2 Merge master into staging-next 2024-12-06 00:15:39 +00:00
David McFarland
73e492d365 dotnetCorePackages.dotnet_9.vmr: 9.0.0 -> 9.0.101 2024-12-05 16:16:08 -04:00
David McFarland
dd9608a5d8 dotnet/update.nix: use tag name to check for updates
This stops it from missing SDK-only updates.
2024-12-05 15:36:24 -04:00
David McFarland
d238584a09 dotnet/update.nix: remove stray debug print 2024-12-05 14:30:39 -04:00
David McFarland
b1d10ad85e dotnet-sdk_9: 9.0.100 -> 9.0.101 2024-12-05 18:12:33 +00:00
David McFarland
4ba028e885 dotnet/update.sh: check sdk version when updating 2024-12-05 14:07:34 -04:00
David McFarland
d343c85889 dotnet: use fallback target packages from current binary sdk
This was using the bootstrap SDK, which doesn't match the version of the
source-built SDK.  This will still be a problem if the binary and
source-built SDKs don't have the same version.
2024-12-05 10:09:05 -04:00
David McFarland
597474a8f1 dotnet: nixfmt output of nuget-to-nix 2024-12-05 10:09:05 -04:00
Sefa Eyeoglu
2115f02b9a .editorconfig: Format .bash files like .sh (#354885) 2024-11-29 23:36:19 +01:00
Emily
3561b1dd74 dotnet-{sdk,runtime,aspnetcore}_{6,7}: mark as EOL
See <https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core>.
2024-11-23 18:29:35 +00:00
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
Victor Engmark
106ba63900 tree-wide: Indent .bash files like .sh 2024-11-10 14:52:08 +13: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