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(
72
72
deps = [
73
73
":rules_pkg_lib" ,
74
74
"//toolchains/rpm:standard_package" ,
75
- "@aspect_bazel_lib//lib:expand_make_vars"
75
+ "@aspect_bazel_lib//lib:expand_make_vars" ,
76
76
],
77
77
)
78
78
for rule , src in ORDER
Original file line number Diff line number Diff line change 13
13
# limitations under the License.
14
14
"""Rules for making .tar files."""
15
15
16
+ load ("@aspect_bazel_lib//lib:expand_make_vars.bzl" , "expand_variables" )
16
17
load ("//pkg:providers.bzl" , "PackageVariablesInfo" )
17
18
load (
18
19
"//pkg/private:pkg_files.bzl" ,
25
26
"write_manifest" ,
26
27
)
27
28
load ("//pkg/private:util.bzl" , "setup_output_files" , "substitute_package_variables" )
28
- load ("@aspect_bazel_lib//lib:expand_make_vars.bzl" , "expand_variables" )
29
29
30
30
# TODO(aiuto): Figure out how to get this from the python toolchain.
31
31
# See check for lzma in archive.py for a hint at a method.
@@ -127,7 +127,6 @@ def _pkg_tar_impl(ctx):
127
127
expanded_replacement = expand_variables (ctx , replacement )
128
128
expanded_remap_paths [expanded_prefix ] = expanded_replacement
129
129
130
-
131
130
path_mapper = lambda path : _remap (expanded_remap_paths , path )
132
131
133
132
mapping_context = create_mapping_context_from_ctx (
Original file line number Diff line number Diff line change @@ -633,7 +633,7 @@ pkg_tar(
633
633
":tree_artifact_to_rename" ,
634
634
],
635
635
remap_paths = {
636
- "/rename_me" : "$(COMPILATION_MODE)"
636
+ "/rename_me" : "$(COMPILATION_MODE)" ,
637
637
},
638
638
)
639
639
You can’t perform that action at this time.
0 commit comments