File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -84,9 +84,10 @@ rules_cc_dependencies()
8484
8585http_archive (
8686 name = "aspect_bazel_lib" ,
87- sha256 = "40ba9d0f62deac87195723f0f891a9803a7b720d7b89206981ca5570ef9df15b " ,
88- strip_prefix = "bazel-lib-2.14 .0" ,
89- url = "https://github.com/bazel-contrib/bazel-lib/releases/download/v2.14 .0/bazel-lib-v2.14 .0.tar.gz" ,
87+ sha256 = "6d636cfdecc7f5c1a5d82b9790fb5d5d5e8aa6ea8b53a71a75f1ba53c8d29f61 " ,
88+ strip_prefix = "bazel-lib-2.21 .0" ,
89+ url = "https://github.com/bazel-contrib/bazel-lib/releases/download/v2.21 .0/bazel-lib-v2.21 .0.tar.gz" ,
9090)
9191
9292aspect_bazel_lib_dependencies ()
93+ aspect_bazel_lib_register_toolchains ()
Original file line number Diff line number Diff line change @@ -105,7 +105,8 @@ def _pkg_tar_impl(ctx):
105105 args .add ("--mtime" , "portable" )
106106 if ctx .attr .modes :
107107 for key in ctx .attr .modes :
108- args .add ("--modes" , "%s=%s" % (_quote (key ), ctx .attr .modes [key ]))
108+ expanded_key = expand_variables (ctx , key )
109+ args .add ("--modes" , "%s=%s" % (_quote (expanded_key ), ctx .attr .modes [key ]))
109110 if ctx .attr .owners :
110111 for key in ctx .attr .owners :
111112 args .add ("--owners" , "%s=%s" % (_quote (key ), ctx .attr .owners [key ]))
You can’t perform that action at this time.
0 commit comments