From 0b054bcce374d585cb1cf8ca5cb702fa312a4f3d Mon Sep 17 00:00:00 2001 From: mdarocha Date: Fri, 15 Jul 2022 16:54:14 +0200 Subject: [PATCH] github-runner: include sdk-specific packages --- .../github-runner/default.nix | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/pkgs/development/tools/continuous-integration/github-runner/default.nix b/pkgs/development/tools/continuous-integration/github-runner/default.nix index 1687fb7c52fc..e36c97f72a2d 100644 --- a/pkgs/development/tools/continuous-integration/github-runner/default.nix +++ b/pkgs/development/tools/continuous-integration/github-runner/default.nix @@ -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;