treewide: remove uneccessary uses of dotnetCorePackages.combinePackages (#362431)

This commit is contained in:
David McFarland
2024-12-12 18:07:37 -04:00
committed by GitHub
3 changed files with 16 additions and 10 deletions
+2 -7
View File
@@ -26,13 +26,8 @@ buildDotnetModule (finalAttrs: rec {
--replace-fail TargetFrameworks TargetFramework \
'';
dotnet-sdk =
with dotnetCorePackages;
combinePackages [
sdk_8_0
sdk_9_0
];
dotnet-runtime = dotnetCorePackages.sdk_9_0;
dotnet-sdk = dotnetCorePackages.sdk_8_0;
dotnet-runtime = dotnetCorePackages.sdk_8_0;
projectFile = "src/FsAutoComplete/FsAutoComplete.fsproj";
executables = [ "fsautocomplete" ];
+13 -1
View File
@@ -26,7 +26,19 @@ buildDotnetModule rec {
executables = [ "naps2" ];
dotnet-sdk = with dotnetCorePackages; combinePackages [ sdk_6_0 sdk_8_0 ];
dotnet-sdk =
with dotnetCorePackages;
sdk_8_0
// {
inherit
(combinePackages [
sdk_8_0
sdk_6_0
])
packages
targetPackages
;
};
dotnet-runtime = dotnetCorePackages.runtime_8_0;
selfContainedBuild = true;
runtimeDeps = [
@@ -55,8 +55,7 @@ buildDotnetModule rec {
updateScript = ./update.sh;
};
# SDK 6.0 required for Robust.LoaderApi
dotnet-sdk = with dotnetCorePackages; combinePackages [ sdk_8_0 sdk_6_0 ];
dotnet-sdk = dotnetCorePackages.sdk_8_0;
dotnet-runtime = dotnetCorePackages.runtime_8_0;
dotnetFlags = [