3
0
Fork 0
forked from mirrors/nixpkgs

github-runner: support aarch64-darwin

This commit is contained in:
Vincent Haupert 2022-11-20 12:58:15 +01:00
parent 83ac8be43c
commit 8262b08df0
2 changed files with 7 additions and 1 deletions

View file

@ -1,4 +1,5 @@
{ autoPatchelfHook
, autoSignDarwinBinariesHook
, coreutils
, curl
, dotnetCorePackages
@ -40,6 +41,7 @@ let
"x86_64-linux" = "linux-x64";
"aarch64-linux" = "linux-arm64";
"x86_64-darwin" = "osx-x64";
"aarch64-darwin" = "osx-arm64";
};
runtimeId = runtimeIds.${stdenv.system};
fakeSha1 = "0000000000000000000000000000000000000000";
@ -63,6 +65,8 @@ stdenv.mkDerivation rec {
makeWrapper
] ++ lib.optionals stdenv.isLinux [
autoPatchelfHook
] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [
autoSignDarwinBinariesHook
];
buildInputs = [

View file

@ -7198,7 +7198,9 @@ with pkgs;
github-backup = callPackage ../tools/misc/github-backup { };
github-runner = callPackage ../development/tools/continuous-integration/github-runner { };
github-runner = callPackage ../development/tools/continuous-integration/github-runner {
inherit (darwin) autoSignDarwinBinariesHook;
};
gitkraken = callPackage ../applications/version-management/gitkraken { };