File tree Expand file tree Collapse file tree 2 files changed +14
-5
lines changed
pkgs/development/compilers/dotnet Expand file tree Collapse file tree 2 files changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -229,6 +229,15 @@ mkWrapper type (
229229 binaryBytecode
230230 binaryNativeCode
231231 ] ;
232+ knownVulnerabilities =
233+ lib . optionals
234+ ( lib . elem ( lib . head ( lib . splitVersion version ) ) [
235+ "6"
236+ "7"
237+ ] )
238+ [
239+ "Dotnet SDK ${ version } is EOL, please use 8.0 (LTS) or 9.0 (Current)"
240+ ] ;
232241 } ;
233242 }
234243)
Original file line number Diff line number Diff line change @@ -72,11 +72,11 @@ makeScopeWithSplicing' {
7272 }
7373 // lib . optionalAttrs config . allowAliases {
7474 # EOL
75- sdk_2_1 = throw "Dotnet SDK 2.1 is EOL, please use 6 .0 (LTS) or 7 .0 (Current)" ;
76- sdk_2_2 = throw "Dotnet SDK 2.2 is EOL, please use 6 .0 (LTS) or 7 .0 (Current)" ;
77- sdk_3_0 = throw "Dotnet SDK 3.0 is EOL, please use 6 .0 (LTS) or 7 .0 (Current)" ;
78- sdk_3_1 = throw "Dotnet SDK 3.1 is EOL, please use 6 .0 (LTS) or 7 .0 (Current)" ;
79- sdk_5_0 = throw "Dotnet SDK 5.0 is EOL, please use 6 .0 (LTS) or 7 .0 (Current)" ;
75+ sdk_2_1 = throw "Dotnet SDK 2.1 is EOL, please use 8 .0 (LTS) or 9 .0 (Current)" ;
76+ sdk_2_2 = throw "Dotnet SDK 2.2 is EOL, please use 8 .0 (LTS) or 9 .0 (Current)" ;
77+ sdk_3_0 = throw "Dotnet SDK 3.0 is EOL, please use 8 .0 (LTS) or 9 .0 (Current)" ;
78+ sdk_3_1 = throw "Dotnet SDK 3.1 is EOL, please use 8 .0 (LTS) or 9 .0 (Current)" ;
79+ sdk_5_0 = throw "Dotnet SDK 5.0 is EOL, please use 8 .0 (LTS) or 9 .0 (Current)" ;
8080 }
8181 // dotnet_6_0
8282 // dotnet_7_0
You can’t perform that action at this time.
0 commit comments