treewide: remove uneccessary uses of dotnetCorePackages.combinePackages

This commit is contained in:
David McFarland 2024-10-27 13:43:47 -03:00
parent 8bbf8450e4
commit 5b4d838e43
3 changed files with 16 additions and 10 deletions

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" ];

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 = [

View File

@ -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 = [