Skip to content

Commit 1e44d37

Browse files
committed
feat: macos arm64 builds
1 parent 6ca34f8 commit 1e44d37

File tree

2 files changed

+8
-12
lines changed

2 files changed

+8
-12
lines changed

flake.nix

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@
1212
# The target systems and their vercel/pkg mapping
1313
systems = {
1414
"x86_64-linux" = [ "linux" "x64" ];
15-
"aarch64-linux" = [ "linux" "arm64" ];
1615
"x86_64-windows" = [ "win32" "x64" ];
17-
"aarch64-windows" = [ "win32" "arm64" ];
1816
"x86_64-darwin" = [ "darwin" "x64" ];
1917
"aarch64-darwin" = [ "darwin" "arm64" ];
2018
};

utils.nix

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,10 @@ rec {
4444
url = "https://github.com/yao-pkg/pkg-fetch/releases/download/v3.5/node-v20.11.1-macos-x64";
4545
sha256 = "1558a49dfea01ae42702a71eaa1c7a6479abde8b2778bc7cb4f9a65d65a0afa6";
4646
};
47-
# No build for v20.11.1 macos-arm64 build
48-
# "macos-arm64" = fetchurl {
49-
# url = "";
50-
# sha256 = "";
51-
# };
47+
"macos-arm64" = fetchurl {
48+
url = "https://github.com/yao-pkg/pkg-fetch/releases/download/v3.5/node-v20.11.1-macos-arm64";
49+
sha256 = "1fa7f9e233820cfc5668ba21b70c463214f981fc69f1b8175b25dfa871451e26";
50+
};
5251
};
5352
};
5453
pkgCachePath =
@@ -70,10 +69,9 @@ rec {
7069
name = fetchedName pkgBuild.macos-x64.name;
7170
path = pkgBuild.macos-x64;
7271
}
73-
# No build for v18.15 macos-arm64 build
74-
# {
75-
# name = fetchedName pkgBuild.macos-arm64.name;
76-
# path = pkgBuild.macos-arm64;
77-
# }
72+
{
73+
name = fetchedName pkgBuild.macos-arm64.name;
74+
path = pkgBuild.macos-arm64;
75+
}
7876
];
7977
}

0 commit comments

Comments
 (0)