dotnet-outdated: don't build for EOL sdks (#361048)

This commit is contained in:
David McFarland
2024-12-03 11:00:07 -04:00
committed by GitHub
+3 -5
View File
@@ -3,10 +3,7 @@
, buildDotnetModule
, dotnetCorePackages
}:
let
dotnet-sdk = with dotnetCorePackages; combinePackages [ sdk_6_0 sdk_7_0 sdk_8_0 ];
in buildDotnetModule rec {
buildDotnetModule rec {
pname = "dotnet-outdated";
version = "4.6.4";
@@ -17,7 +14,7 @@ in buildDotnetModule rec {
hash = "sha256-Ah5VOCIkSRkeDWk/KYHIc/OELo0T/HuJl0LEUiumlu0=";
};
inherit dotnet-sdk;
dotnet-sdk = dotnetCorePackages.sdk_8_0;
dotnet-runtime = dotnetCorePackages.runtime_8_0;
useDotnetFromEnv = true;
@@ -26,6 +23,7 @@ in buildDotnetModule rec {
projectFile = "src/DotNetOutdated/DotNetOutdated.csproj";
executables = "dotnet-outdated";
dotnetFlags = [ "-p:TargetFrameworks=net8.0" ];
dotnetInstallFlags = [ "--framework" "net8.0" ];
meta = with lib; {