···1111mkShell {
1212 name = "dotnet-env";
1313 packages = [
1414- dotnet-sdk_3
1414+ dotnet-sdk
1515 ];
1616}
1717```
···2727 name = "dotnet-env";
2828 packages = [
2929 (with dotnetCorePackages; combinePackages [
3030- sdk_3_1
3130 sdk_6_0
3131+ sdk_7_0
3232 ])
3333 ];
3434}
3535```
36363737-This will produce a dotnet installation that has the dotnet 3.1 6.0 sdk. The first sdk listed will have it's cli utility present in the resulting environment. Example info output:
3737+This will produce a dotnet installation that has the dotnet 6.0 7.0 sdk. The first sdk listed will have it's cli utility present in the resulting environment. Example info output:
38383939```ShellSession
4040$ dotnet --info
4141-.NET Core SDK (reflecting any global.json):
4242- Version: 3.1.101
4343- Commit: b377529961
4141+.NET SDK:
4242+ Version: 7.0.202
4343+ Commit: 6c74320bc3
4444+4545+Środowisko uruchomieniowe:
4646+ OS Name: nixos
4747+ OS Version: 23.05
4848+ OS Platform: Linux
4949+ RID: linux-x64
5050+ Base Path: /nix/store/n2pm44xq20hz7ybsasgmd7p3yh31gnh4-dotnet-sdk-7.0.202/sdk/7.0.202/
5151+5252+Host:
5353+ Version: 7.0.4
5454+ Architecture: x64
5555+ Commit: 0a396acafe
5656+5757+.NET SDKs installed:
5858+ 6.0.407 [/nix/store/3b19303vwrhv0xxz1hg355c7f2hgxxgd-dotnet-core-combined/sdk]
5959+ 7.0.202 [/nix/store/3b19303vwrhv0xxz1hg355c7f2hgxxgd-dotnet-core-combined/sdk]
6060+6161+.NET runtimes installed:
6262+ Microsoft.AspNetCore.App 6.0.15 [/nix/store/3b19303vwrhv0xxz1hg355c7f2hgxxgd-dotnet-core-combined/shared/Microsoft.AspNetCore.App]
6363+ Microsoft.AspNetCore.App 7.0.4 [/nix/store/3b19303vwrhv0xxz1hg355c7f2hgxxgd-dotnet-core-combined/shared/Microsoft.AspNetCore.App]
6464+ Microsoft.NETCore.App 6.0.15 [/nix/store/3b19303vwrhv0xxz1hg355c7f2hgxxgd-dotnet-core-combined/shared/Microsoft.NETCore.App]
6565+ Microsoft.NETCore.App 7.0.4 [/nix/store/3b19303vwrhv0xxz1hg355c7f2hgxxgd-dotnet-core-combined/shared/Microsoft.NETCore.App]
6666+6767+Other architectures found:
6868+ None
44694545-...
7070+Environment variables:
7171+ Not set
7272+7373+global.json file:
7474+ Not found
46754747-.NET Core SDKs installed:
4848- 2.1.803 [/nix/store/iiv98i2jdi226dgh4jzkkj2ww7f8jgpd-dotnet-core-combined/sdk]
4949- 3.0.102 [/nix/store/iiv98i2jdi226dgh4jzkkj2ww7f8jgpd-dotnet-core-combined/sdk]
5050- 3.1.101 [/nix/store/iiv98i2jdi226dgh4jzkkj2ww7f8jgpd-dotnet-core-combined/sdk]
7676+Learn more:
7777+ https://aka.ms/dotnet/info
51785252-.NET Core runtimes installed:
5353- Microsoft.AspNetCore.All 2.1.15 [/nix/store/iiv98i2jdi226dgh4jzkkj2ww7f8jgpd-dotnet-core-combined/shared/Microsoft.AspNetCore.All]
5454- Microsoft.AspNetCore.App 2.1.15 [/nix/store/iiv98i2jdi226dgh4jzkkj2ww7f8jgpd-dotnet-core-combined/shared/Microsoft.AspNetCore.App]
5555- Microsoft.AspNetCore.App 3.0.2 [/nix/store/iiv98i2jdi226dgh4jzkkj2ww7f8jgpd-dotnet-core-combined/shared/Microsoft.AspNetCore.App]
5656- Microsoft.AspNetCore.App 3.1.1 [/nix/store/iiv98i2jdi226dgh4jzkkj2ww7f8jgpd-dotnet-core-combined/shared/Microsoft.AspNetCore.App]
5757- Microsoft.NETCore.App 2.1.15 [/nix/store/iiv98i2jdi226dgh4jzkkj2ww7f8jgpd-dotnet-core-combined/shared/Microsoft.NETCore.App]
5858- Microsoft.NETCore.App 3.0.2 [/nix/store/iiv98i2jdi226dgh4jzkkj2ww7f8jgpd-dotnet-core-combined/shared/Microsoft.NETCore.App]
5959- Microsoft.NETCore.App 3.1.1 [/nix/store/iiv98i2jdi226dgh4jzkkj2ww7f8jgpd-dotnet-core-combined/shared/Microsoft.NETCore.App]
7979+Download .NET:
8080+ https://aka.ms/dotnet/download
6081```
61826283## dotnet-sdk vs dotnetCorePackages.sdk {#dotnet-sdk-vs-dotnetcorepackages.sdk}
···119140120141 projectReferences = [ referencedProject ]; # `referencedProject` must contain `nupkg` in the folder structure.
121142122122- dotnet-sdk = dotnetCorePackages.sdk_3_1;
123123- dotnet-runtime = dotnetCorePackages.net_6_0;
143143+ dotnet-sdk = dotnetCorePackages.sdk_6.0;
144144+ dotnet-runtime = dotnetCorePackages.runtime_6_0;
124145125146 executables = [ "foo" ]; # This wraps "$out/lib/$pname/foo" to `$out/bin/foo`.
126147 executables = []; # Don't install any executables.
+1-1
nixos/doc/manual/release-notes/rl-2305.section.md
···178178 - Please note that an upgrade from v24 (or older) to v26 directly is not possible. Please upgrade to `nextcloud25` (or earlier) first. Nextcloud prohibits skipping major versions while upgrading. You can upgrade by declaring [`services.nextcloud.package = pkgs.nextcloud25;`](options.html#opt-services.nextcloud.package).
179179 - It's recommended to use the latest version available (i.e. v26) and to specify that using `services.nextcloud.package`.
180180181181-- .NET 5.0 was removed due to being end-of-life, use a newer, supported .NET version - https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core
181181+- .NET 5.0 and .NET 3.1 were removed due to being end-of-life, use a newer, supported .NET version - https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core
182182183183- The iputils package, which is installed by default, no longer provides the
184184 `ninfod`, `rarpd` and `rdisc` tools. See