Skip to content

Commit c5b0347

Browse files
committed
Fixes node toolchain for bazel 0.4.4
1 parent b64ea37 commit c5b0347

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

node/internal/node_repositories.bzl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,20 @@ def _node_toolchain_impl(ctx):
2424
fail("Unsupported operating system: " + os)
2525

2626
ctx.symlink(noderoot, ctx.path(''))
27+
2728
ctx.file("WORKSPACE", "workspace(name = '%s')" % ctx.name)
2829
ctx.file("BUILD", NODE_TOOLCHAIN_BUILD_FILE)
2930

3031
_node_toolchain = repository_rule(
3132
_node_toolchain_impl,
3233
attrs = {
3334
"_linux": attr.label(
34-
default = Label("@nodejs_linux_amd64//:BUILD"),
35+
default = Label("@nodejs_linux_amd64//:BUILD.bazel"),
3536
allow_files = True,
3637
single_file = True,
3738
),
3839
"_darwin": attr.label(
39-
default = Label("@nodejs_darwin_amd64//:BUILD"),
40+
default = Label("@nodejs_darwin_amd64//:BUILD.bazel"),
4041
allow_files = True,
4142
single_file = True,
4243
),

0 commit comments

Comments
 (0)