File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ genrule(
7272 deps = [
7373 ":rules_pkg_lib" ,
7474 "//toolchains/rpm:standard_package" ,
75- "@aspect_bazel_lib//lib:expand_make_vars"
75+ "@aspect_bazel_lib//lib:expand_make_vars" ,
7676 ],
7777 )
7878 for rule , src in ORDER
Original file line number Diff line number Diff line change 1313# limitations under the License.
1414"""Rules for making .tar files."""
1515
16+ load ("@aspect_bazel_lib//lib:expand_make_vars.bzl" , "expand_variables" )
1617load ("//pkg:providers.bzl" , "PackageVariablesInfo" )
1718load (
1819 "//pkg/private:pkg_files.bzl" ,
2526 "write_manifest" ,
2627)
2728load ("//pkg/private:util.bzl" , "setup_output_files" , "substitute_package_variables" )
28- load ("@aspect_bazel_lib//lib:expand_make_vars.bzl" , "expand_variables" )
2929
3030# TODO(aiuto): Figure out how to get this from the python toolchain.
3131# See check for lzma in archive.py for a hint at a method.
@@ -127,7 +127,6 @@ def _pkg_tar_impl(ctx):
127127 expanded_replacement = expand_variables (ctx , replacement )
128128 expanded_remap_paths [expanded_prefix ] = expanded_replacement
129129
130-
131130 path_mapper = lambda path : _remap (expanded_remap_paths , path )
132131
133132 mapping_context = create_mapping_context_from_ctx (
Original file line number Diff line number Diff line change @@ -633,7 +633,7 @@ pkg_tar(
633633 ":tree_artifact_to_rename" ,
634634 ],
635635 remap_paths = {
636- "/rename_me" : "$(COMPILATION_MODE)"
636+ "/rename_me" : "$(COMPILATION_MODE)" ,
637637 },
638638)
639639
You can’t perform that action at this time.
0 commit comments