Commit Graph

235 Commits

Author SHA1 Message Date
David McFarland
bd934093f4 dotnet: patch apphost as well as singlefilehost
This fixes library loading in self-contained builds.
2024-04-17 09:47:46 -03:00
David McFarland
81693c96ba dotnet: force ICU to be loaded during tests 2024-04-17 09:47:46 -03:00
David McFarland
7150d7e203 dotnet: add self-contained test 2024-04-17 09:47:46 -03:00
David McFarland
767d892193 dotnet: fix typo which was breaking the console test 2024-04-17 09:44:17 -03:00
David McFarland
e4c6bbd4f7 dotnetCorePackages.dotnet_8: 8.0.3 -> 8.0.4 2024-04-16 14:40:10 -03:00
David McFarland
23dfb91c31 dotnetCorePackages.sdk_8_0: 8.0.3 -> 8.0.4 2024-04-16 14:40:10 -03:00
David McFarland
637f3aa120 dotnetCorePackages.sdk_7_0: 7.0.117 -> 7.0.118 2024-04-16 14:40:10 -03:00
David McFarland
739e58eae5 dotnetCorePackages.sdk_6_0: 6.0.28 -> 6.0.29 2024-04-16 14:40:10 -03:00
David McFarland
5ad4b8b068 dotnet: allow update.sh to be run from root 2024-04-16 14:40:10 -03:00
David McFarland
dc8b444406 dotnet: fix typo in name of web test 2024-04-05 10:56:22 -03:00
David McFarland
62801bb1ec dotnetCorePackages.dotnet_9.vmr: 9.0.0-preview.1 -> 9.0.0-preview.2 2024-04-05 10:56:22 -03:00
David McFarland
bbf28447f2 dotnetCorePackages.sdk_9_0: 9.0.0-preview.1 -> 9.0.0-preview.2 2024-04-04 10:25:17 -03:00
David McFarland
94203f3379 dotnet: add version test to non-sdk packages 2024-04-04 10:25:17 -03:00
David McFarland
9b13927fd0 patch-nupkgs: add references to dynamically loaded libs
This is what we do in buildDotnetModule. Eventually I'd like to use this
script there as well.
2024-04-04 10:24:55 -03:00
David McFarland
ff5be75ede patch-nupkgs: patch executables only 2024-04-04 10:24:55 -03:00
David McFarland
b3b68a6687 patch-nupkgs: fix race when patching incomplete package 2024-04-04 10:24:54 -03:00
David McFarland
b2c788ad1b patch-nupkgs: use --add-rpath instead of --set-rpath
This avoids stripping $ORIGIN from libs that need it.
2024-04-04 10:24:54 -03:00
Philip Taron
273a1531d2 Avoid top-level with ...; in pkgs/development/compilers/dotnet/combine-deps.nix 2024-04-02 01:05:13 +02:00
David McFarland
bf94c1d92f dotnetCorePackages.dotnet_8: 8.0.2 -> 8.0.3 2024-03-30 16:57:29 -03:00
David McFarland
d2dc458e2b dotnet-sdk_8: 8.0.2 -> 8.0.3 2024-03-30 16:57:29 -03:00
David McFarland
9df74c38ef dotnet-sdk_7: 7.0.16 -> 7.0.17 2024-03-30 16:57:29 -03:00
David McFarland
a63d85073a dotnet-sdk_6: 6.0.27 -> 6.0.28 2024-03-30 16:57:29 -03:00
David McFarland
3328c8b30f dotnet: add support for feature bands in update.sh
This will make e.g. both sdk_8_0_2xx and sdk_8_0_1xx available, with
sdk_8_0 poiting to the latest.
2024-03-30 11:38:40 -03:00
David McFarland
044aab0af8 Revert "dotnet/update.sh: use sdk patch version instead of runtime"
This reverts commit 845b559abe.
2024-03-30 11:38:40 -03:00
David McFarland
3801f8df06 dotnet: fix stripping on darwin
Fixes: 88e8d87fed
2024-03-30 11:38:40 -03:00
gbtb
5eca3b06e7 dotnet: added shell completion scripts 2024-03-30 20:49:56 +10:00
David McFarland
1bcfabc700
Merge pull request #294070 from corngood/dotnet-tests
dotnet: add publish and web tests
2024-03-29 15:22:16 -03:00
Pol Dellaiera
3a2102cff6
Merge pull request #295305 from corngood/dotnet-strip
dotnet: strip debug info
2024-03-12 21:56:46 +01:00
David McFarland
88e8d87fed dotnet: strip debug info
This reduces the sdk closure size from 739.2M/2.5G to 494.5M/584.0M.
2024-03-12 08:32:49 -03:00
David McFarland
75c085f6c2 dotnet: strip native symbols from runtime
This reduces the output size of dotnet_9.vmr from 4.2GiB to 1.9GiB.
2024-03-09 17:33:41 -04:00
David McFarland
ecad5a115d dotnet: add publish and web tests
This adds a helper for creating dotnet tests, and adds tests for:

- normal publish and run via wrapper
- aspnetcore web app
2024-03-09 13:30:36 -04:00
David McFarland
445b240555
Merge pull request #290351 from corngood/dotnet-fixes
dotnet: infrastructure cleanup
2024-03-09 11:34:48 -04:00
David McFarland
6611426071
Merge pull request #290636 from corngood/dotnet-sdk-9
dotnetCorePackages.dotnet_9: init at 9.0.0-preview.1
2024-03-08 13:34:04 -04:00
David McFarland
9cc5673665 dotnet/update.sh: move substitutions to avoid loss of errors 2024-03-06 10:14:21 -04:00
David McFarland
496c9cf685 dotnet/update.sh: remove redundant backslashes 2024-03-06 10:14:21 -04:00
David McFarland
c3397c44f4 dotnet/update.sh: fix error when nixpkgs path is not defined 2024-03-06 10:14:21 -04:00
zowoq
8ca587c437 dotnetCorePackages.dotnet_8.sdk: remove updateScript to fix eval 2024-03-06 15:04:37 +10:00
David McFarland
8bb2df361a dotnetCorePackages.dotnet_9: init at 9.0.0-preview.1 2024-03-06 00:21:39 -04:00
David McFarland
e05ba07431 dotnet: fix updateScript on preview releases 2024-03-06 00:21:39 -04:00
David McFarland
64beddbb27 dotnetCorePackages.sdk_9_0: init at 9.0.100-preview.1.24101.2 2024-03-05 18:42:44 -04:00
David McFarland
8cd5d4e3ad dotnet/update.sh: remove DotNetHost packages from dotnet 9+ 2024-03-05 18:42:32 -04:00
David McFarland
043eab9a5a dotnetCorePackages.dotnet_8: init at 8.0.2 2024-03-03 15:15:08 -04:00
David McFarland
845b559abe dotnet/update.sh: use sdk patch version instead of runtime
There's a one:many relationship between runtimes and sdks.  This allows
fetching a specific SDK (e.g. 8.0.102 vs 8.0.201), even when both use
the same runtime (8.0.2).
2024-03-03 15:15:08 -04:00
David McFarland
f9b82960ec dotnet-sdk: add test for single-file compilation 2024-02-26 16:24:54 -04:00
Raphael Robatsch
0468d889c6 dotnet-sdk_8: 8.0.101 -> 8.0.201
https://github.com/dotnet/core/blob/main/release-notes/8.0/8.0.2/8.0.2.md
Fixes CVE-2024-21386, CVE-2024-21404
2024-02-26 16:07:02 -04:00
Raphael Robatsch
aab27012a0 dotnet-sdk_7: 7.0.405 -> 7.0.406
Release notes: https://github.com/dotnet/core/blob/main/release-notes/7.0/7.0.16/7.0.16.md
Fixes CVE-2024-21386, CVE-2024-21404
2024-02-26 16:07:02 -04:00
Raphael Robatsch
19df862e28 dotnet-sdk_6: 6.0.418 -> 6.0.419
Release notes: https://github.com/dotnet/core/blob/main/release-notes/6.0/6.0.27/6.0.27.md
Fixes CVE-2024-21386, CVE-2024-21404
2024-02-26 16:07:02 -04:00
David McFarland
1444ad2697 dotnet/update.sh: add ILLink.Tasks package 2024-02-26 16:00:15 -04:00
Raphael Robatsch
b7d7416278 dotnet-sdk_8: 8.0.100 -> 8.0.101
https://github.com/dotnet/core/releases/tag/v8.0.1
Fixes CVE-2024-21319, CVE-2024-0057
2024-01-11 18:00:33 +01:00
Raphael Robatsch
50e760ea3a dotnet-sdk_7: 7.0.404 -> 7.0.405
https://github.com/dotnet/core/releases/tag/v7.0.15
Fixes CVE-2024-21319, CVE-2024-0057
2024-01-11 18:00:33 +01:00