File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff 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 ),
You can’t perform that action at this time.
0 commit comments