dotnet: make SDK 6.0 default

should not cause any trouble since all packages should use pinned
versions via either of these:
- `dotnet-sdk = dotnetCorePackages.sdk_5_0`
- `dotnet-sdk_5`
main
Pavol Rusnak 3 years ago
parent 2bcc4707e8
commit 15db090295
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
  1. 8
      pkgs/development/compilers/dotnet/default.nix
  2. 6
      pkgs/top-level/all-packages.nix

@ -17,9 +17,9 @@ rec {
# EOL
sdk_2_1 = throw "Dotnet SDK 2.1 is EOL, please use 3.1 (LTS) or 5.0 (Current)";
sdk_2_2 = throw "Dotnet SDK 2.2 is EOL, please use 3.1 (LTS) or 5.0 (Current)";
sdk_3_0 = throw "Dotnet SDK 3.0 is EOL, please use 3.1 (LTS) or 5.0 (Current)";
sdk_2_1 = throw "Dotnet SDK 2.1 is EOL, please use 3.1 (LTS), 5.0 (Current) or 6.0 (LTS)";
sdk_2_2 = throw "Dotnet SDK 2.2 is EOL, please use 3.1 (LTS), 5.0 (Current) or 6.0 (LTS)";
sdk_3_0 = throw "Dotnet SDK 3.0 is EOL, please use 3.1 (LTS), 5.0 (Current) or 6.0 (LTS)";
# v3.1 (LTS)
@ -79,7 +79,7 @@ rec {
};
};
# v6.0
# v6.0 (LTS)
aspnetcore_6_0 = buildAspNetCore {
version = "6.0.0";

@ -422,9 +422,9 @@ with pkgs;
dotnet-sdk_5 = dotnetCorePackages.sdk_5_0;
dotnet-sdk_6 = dotnetCorePackages.sdk_6_0;
dotnet-sdk = dotnetCorePackages.sdk_5_0;
dotnet-runtime = dotnetCorePackages.runtime_5_0;
dotnet-aspnetcore = dotnetCorePackages.aspnetcore_5_0;
dotnet-sdk = dotnetCorePackages.sdk_6_0;
dotnet-runtime = dotnetCorePackages.runtime_6_0;
dotnet-aspnetcore = dotnetCorePackages.aspnetcore_6_0;
dumb-init = callPackage ../applications/virtualization/dumb-init {};

Loading…
Cancel
Save