summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmily <vcs@emily.moe>2024-11-25 15:07:00 +0000
committerGitHub <noreply@github.com>2024-11-25 15:07:00 +0000
commitba4c0e502ac93b33e0a3d4ad662fe02c3a51ea3d (patch)
tree1db5b99171f4116f90b452a80fe84f7133069504
parentqlog: 0.39.0 -> 0.40.0 (#358767) (diff)
parentdotnet-{sdk,runtime,aspnetcore}_{6,7}: mark as EOL (diff)
downloadnixpkgs-ba4c0e502ac93b33e0a3d4ad662fe02c3a51ea3d.tar.gz
dotnet-{sdk,runtime,aspnetcore}_{6,7}: mark as EOL (#358533)
-rw-r--r--pkgs/development/compilers/dotnet/build-dotnet.nix9
-rw-r--r--pkgs/development/compilers/dotnet/default.nix10
2 files changed, 14 insertions, 5 deletions
diff --git a/pkgs/development/compilers/dotnet/build-dotnet.nix b/pkgs/development/compilers/dotnet/build-dotnet.nix
index 8550d71d7cb0..ede86ad04eb4 100644
--- a/pkgs/development/compilers/dotnet/build-dotnet.nix
+++ b/pkgs/development/compilers/dotnet/build-dotnet.nix
@@ -229,6 +229,15 @@ mkWrapper type (
binaryBytecode
binaryNativeCode
];
+ knownVulnerabilities =
+ lib.optionals
+ (lib.elem (lib.head (lib.splitVersion version)) [
+ "6"
+ "7"
+ ])
+ [
+ "Dotnet SDK ${version} is EOL, please use 8.0 (LTS) or 9.0 (Current)"
+ ];
};
}
)
diff --git a/pkgs/development/compilers/dotnet/default.nix b/pkgs/development/compilers/dotnet/default.nix
index 88aaa28c8d2d..90c474f6ae20 100644
--- a/pkgs/development/compilers/dotnet/default.nix
+++ b/pkgs/development/compilers/dotnet/default.nix
@@ -72,11 +72,11 @@ makeScopeWithSplicing' {
}
// lib.optionalAttrs config.allowAliases {
# EOL
- sdk_2_1 = throw "Dotnet SDK 2.1 is EOL, please use 6.0 (LTS) or 7.0 (Current)";
- sdk_2_2 = throw "Dotnet SDK 2.2 is EOL, please use 6.0 (LTS) or 7.0 (Current)";
- sdk_3_0 = throw "Dotnet SDK 3.0 is EOL, please use 6.0 (LTS) or 7.0 (Current)";
- sdk_3_1 = throw "Dotnet SDK 3.1 is EOL, please use 6.0 (LTS) or 7.0 (Current)";
- sdk_5_0 = throw "Dotnet SDK 5.0 is EOL, please use 6.0 (LTS) or 7.0 (Current)";
+ sdk_2_1 = throw "Dotnet SDK 2.1 is EOL, please use 8.0 (LTS) or 9.0 (Current)";
+ sdk_2_2 = throw "Dotnet SDK 2.2 is EOL, please use 8.0 (LTS) or 9.0 (Current)";
+ sdk_3_0 = throw "Dotnet SDK 3.0 is EOL, please use 8.0 (LTS) or 9.0 (Current)";
+ sdk_3_1 = throw "Dotnet SDK 3.1 is EOL, please use 8.0 (LTS) or 9.0 (Current)";
+ sdk_5_0 = throw "Dotnet SDK 5.0 is EOL, please use 8.0 (LTS) or 9.0 (Current)";
}
// dotnet_6_0
// dotnet_7_0