mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-14 00:43:24 +00:00
dotnet-{sdk,runtime,aspnetcore}_{6,7}: mark as EOL
See <https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core>.
This commit is contained in:
parent
811c0af5f5
commit
3561b1dd74
@ -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)"
|
||||
];
|
||||
};
|
||||
}
|
||||
)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user