github-runner: include sdk-specific packages

This commit is contained in:
mdarocha 2022-07-15 16:54:14 +02:00
parent d20f69cb27
commit 0b054bcce3

View File

@ -21,14 +21,15 @@
, nuget-to-nix
}:
let
fetchNuGet = { pname, version, sha256 }: fetchurl {
name = "${pname}.${version}.nupkg";
url = "https://www.nuget.org/api/v2/package/${pname}/${version}";
inherit sha256;
};
nugetSource = linkFarmFromDrvs "nuget-packages" (
import ./deps.nix {
fetchNuGet = { pname, version, sha256 }: fetchurl {
name = "${pname}.${version}.nupkg";
url = "https://www.nuget.org/api/v2/package/${pname}/${version}";
inherit sha256;
};
}
import ./deps.nix { inherit fetchNuGet; } ++
dotnetSdk.passthru.packages { inherit fetchNuGet; }
);
dotnetSdk = dotnetCorePackages.sdk_6_0;