@@ -20,6 +20,20 @@ node.toolchain(
20
20
name = "node16_nvmrc" ,
21
21
node_version_from_nvmrc = "//:.nvmrc" ,
22
22
)
23
+ node .toolchain (
24
+ name = "node21_custom" ,
25
+ node_repositories = {
26
+ "21.6.1.custom-darwin_arm64" : ("node-v21.6.1-darwin-arm64.tar.gz" , "node-v21.6.1-darwin-arm64" , "94c280bba809fa66867e363ec9e990217aedf893116660b8c75a1c4fda3baea5" ),
27
+ "21.6.1.custom-darwin_amd64" : ("node-v21.6.1-darwin-x64.tar.gz" , "node-v21.6.1-darwin-x64" , "5c4821c62a1f61cf3219bc244d30a5b1cdec197c8acabc1ee7cd9ff17bbba947" ),
28
+ "21.6.1.custom-linux_arm64" : ("node-v21.6.1-linux-arm64.tar.xz" , "node-v21.6.1-linux-arm64" , "19900c1a0a9d7e2ea781b46c7d498ffdf3e37e34f46b96e7344bd7bb8f27be66" ),
29
+ "21.6.1.custom-linux_ppc64le" : ("node-v21.6.1-linux-ppc64le.tar.xz" , "node-v21.6.1-linux-ppc64le" , "0f22931238d96d931e8ad788326f4db92860e83105c493ee9b29a4b378b18f18" ),
30
+ "21.6.1.custom-linux_s390x" : ("node-v21.6.1-linux-s390x.tar.xz" , "node-v21.6.1-linux-s390x" , "efa9496c3c1e1691dfabea45e2839b592675a571880b9d25b35d3565e16f3d66" ),
31
+ "21.6.1.custom-linux_amd64" : ("node-v21.6.1-linux-x64.tar.xz" , "node-v21.6.1-linux-x64" , "c65cbf7342260df8e59dd2fe2e06dc1f36ac46c9d433a64cd84521fd4915c291" ),
32
+ "21.6.1.custom-windows_amd64" : ("node-v21.6.1-win-x64.zip" , "node-v21.6.1-win-x64" , "a74b3933e73982553c1fdea3a3a27b09488ac09845e230c7532d4387c0f9c8fe" ),
33
+ },
34
+ node_urls = ["https://nodejs.org/dist/v21.6.1/{filename}" ],
35
+ node_version = "21.6.1.custom" ,
36
+ )
23
37
24
38
# FIXME(6.0): a repo rule with name=foo should create a repo named @foo, not @foo_toolchains
25
39
use_repo (
@@ -38,6 +52,13 @@ use_repo(
38
52
"node16_nvmrc_windows_amd64" ,
39
53
"node16_toolchains" ,
40
54
"node16_windows_amd64" ,
55
+ "node21_custom" ,
56
+ "node21_custom_darwin_amd64" ,
57
+ "node21_custom_darwin_arm64" ,
58
+ "node21_custom_linux_amd64" ,
59
+ "node21_custom_linux_arm64" ,
60
+ "node21_custom_toolchains" ,
61
+ "node21_custom_windows_amd64" ,
41
62
"nodejs" ,
42
63
"nodejs_darwin_amd64" ,
43
64
"nodejs_darwin_arm64" ,
0 commit comments