Skip to content

Commit 0a70b90

Browse files
committed
Updated to base32 hashes for v16.14.2 and specified target node range for pkg builds
1 parent 52845dc commit 0a70b90

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

release.nix

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ let
1818
buildPhase = ''
1919
cp ${./package.json} package.json
2020
pkg . \
21-
--targets linux-${arch} \
21+
--targets node${utils.nodeVersion}-linux-${arch} \
2222
--no-bytecode \
2323
--public \
2424
--public-packages "*" \
@@ -44,7 +44,7 @@ let
4444
buildPhase = ''
4545
cp ${./package.json} package.json
4646
pkg . \
47-
--targets win-${arch} \
47+
--targets node${utils.nodeVersion}-win-${arch} \
4848
--no-bytecode \
4949
--public \
5050
--public-packages "*" \
@@ -70,7 +70,7 @@ let
7070
buildPhase = ''
7171
cp ${./package.json} package.json
7272
pkg . \
73-
--targets macos-${arch} \
73+
--targets node${utils.nodeVersion}-macos-${arch} \
7474
--no-bytecode \
7575
--public \
7676
--public-packages "*" \

utils.nix

+3-3
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,15 @@ rec {
5454
"3.3" = {
5555
"linux-x64" = fetchurl {
5656
url = "https://github.com/vercel/pkg-fetch/releases/download/v3.3/node-v16.14.2-linux-x64";
57-
sha256 = "8fe5316565d6fc759aed4eae650064273567bcfb30d841b75b18ffb396a4babc";
57+
sha256 = "1g5sljbb7zqqbfvl3n1hzfy6fd97ch06bbjfxnd7bz6ncmjk3rcg";
5858
};
5959
"win32-x64" = fetchurl {
6060
url = "https://github.com/vercel/pkg-fetch/releases/download/v3.3/node-v16.14.2-win-x64";
61-
sha256 = "f569a056424242da69e41987b418c3e2eff84a5e2b36601f4ea4babc1dca2eb0";
61+
sha256 = "1c1fr8fvrfm49qgn0dibbr5givz2qccb91qrwilxlhj289ba0sgm";
6262
};
6363
"macos-x64" = fetchurl {
6464
url = "https://github.com/vercel/pkg-fetch/releases/download/v3.3/node-v16.14.2-macos-x64";
65-
sha256 = "5bb0e5fd25bdda12ef510df0a27d468c756535a8341c9f44764bb0bf01d907c3";
65+
sha256 = "1hq7v40vzc2bfr29y71lm0snaxcc8rys5w0da7pi5nmx4pyybc2v";
6666
};
6767
};
6868
};

0 commit comments

Comments
 (0)