diff options
author | Alex Martens <alexmgit@protonmail.com> | 2021-10-16 14:52:38 -0700 |
---|---|---|
committer | Alex Martens <alexmgit@protonmail.com> | 2021-10-16 14:52:38 -0700 |
commit | 0b15a9997ce231bc5a68dcf58e407daacac50a83 (patch) | |
tree | ec8d3069322ac1eee92d2adb3a4b804db028feb7 /pkgs/development/tools/continuous-integration/github-runner | |
parent | ac87bcadd492d3969cde1f4eec2d9f58d61598ae (diff) | |
download | nixpkgs-0b15a9997ce231bc5a68dcf58e407daacac50a83.tar nixpkgs-0b15a9997ce231bc5a68dcf58e407daacac50a83.tar.gz nixpkgs-0b15a9997ce231bc5a68dcf58e407daacac50a83.tar.bz2 nixpkgs-0b15a9997ce231bc5a68dcf58e407daacac50a83.tar.lz nixpkgs-0b15a9997ce231bc5a68dcf58e407daacac50a83.tar.xz nixpkgs-0b15a9997ce231bc5a68dcf58e407daacac50a83.tar.zst nixpkgs-0b15a9997ce231bc5a68dcf58e407daacac50a83.zip |
github-runner: add aarch64-linux to platforms
Diffstat (limited to 'pkgs/development/tools/continuous-integration/github-runner')
-rw-r--r-- | pkgs/development/tools/continuous-integration/github-runner/default.nix | 9 | ||||
-rw-r--r-- | pkgs/development/tools/continuous-integration/github-runner/deps.nix | 10 |
2 files changed, 16 insertions, 3 deletions
diff --git a/pkgs/development/tools/continuous-integration/github-runner/default.nix b/pkgs/development/tools/continuous-integration/github-runner/default.nix index 8eb2ab61b48..d9d7cfd5544 100644 --- a/pkgs/development/tools/continuous-integration/github-runner/default.nix +++ b/pkgs/development/tools/continuous-integration/github-runner/default.nix @@ -29,7 +29,10 @@ let nugetSource = linkFarm "nuget-packages" nugetPackages; dotnetSdk = dotnetCorePackages.sdk_3_1; - runtimeId = "linux-x64"; + runtimeId = + if stdenv.isAarch64 + then "linux-arm64" + else "linux-x64"; fakeSha1 = "0000000000000000000000000000000000000000"; in stdenv.mkDerivation rec { @@ -271,7 +274,7 @@ stdenv.mkDerivation rec { description = "Self-hosted runner for GitHub Actions"; homepage = "https://github.com/actions/runner"; license = licenses.mit; - maintainers = with maintainers; [ veehaitch ]; - platforms = [ "x86_64-linux" ]; + maintainers = with maintainers; [ veehaitch newam ]; + platforms = [ "x86_64-linux" "aarch64-linux" ]; }; } diff --git a/pkgs/development/tools/continuous-integration/github-runner/deps.nix b/pkgs/development/tools/continuous-integration/github-runner/deps.nix index a0e9230517b..803a4019a74 100644 --- a/pkgs/development/tools/continuous-integration/github-runner/deps.nix +++ b/pkgs/development/tools/continuous-integration/github-runner/deps.nix @@ -19,6 +19,11 @@ in sha256 = "19z4zrchaxcz0a33c33n1qd11z9khj4323nfzsbzah0xxkkj8ka8"; }) (fetchNuGet { + name = "microsoft.aspnetcore.app.runtime.linux-arm64"; + version = "3.1.19"; + sha256 = "0xspb0xib1zsqnkkqm4s26z27v9idh9k09zziar1cavh2hxxxfcd"; + }) + (fetchNuGet { name = "microsoft.aspnet.webapi.client"; version = "5.2.4"; sha256 = "00fkczf69z2rwarcd8kjjdp47517a0ca6lggn72qbilsp03a5scj"; @@ -44,6 +49,11 @@ in sha256 = "10c9bq1z8j173n9jzamgplbxq101yscwdhksshn1ybisn7cr5g0h"; }) (fetchNuGet { + name = "microsoft.netcore.app.runtime.linux-arm64"; + version = "3.1.19"; + sha256 = "0v9nc38bg4k2qk547pl1rlrslwprixqlbhcbbf6pw1ia6261wm5m"; + }) + (fetchNuGet { name = "microsoft.netcore.platforms"; version = "1.0.1"; sha256 = "01al6cfxp68dscl15z7rxfw9zvhm64dncsw09a1vmdkacsa2v6lr"; |