File tree 2 files changed +26
-1
lines changed
2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change
1
+ diff --git a/lib/private/yq.bzl b/lib/private/yq.bzl
2
+ index 29ca3d7..c8cd5eb 100644
3
+ --- a/lib/private/yq.bzl
4
+ +++ b/lib/private/yq.bzl
5
+ @@ -71,10 +71,13 @@ def _yq_impl(ctx):
6
+
7
+ # For split operations, yq outputs files in the same directory so we
8
+ # must cd to the correct output dir before executing it
9
+ - bin_dir = "/".join([ctx.bin_dir.path, ctx.label.package]) if ctx.label.package else ctx.bin_dir.path
10
+ + bin_dir = ctx.bin_dir.path
11
+ + if ctx.label.workspace_name:
12
+ + bin_dir = "%s/external/%s" % (bin_dir, ctx.label.workspace_name)
13
+ + bin_dir = "/".join([bin_dir, ctx.label.package]) if ctx.label.package else bin_dir
14
+ escape_bin_dir = _escape_path(bin_dir)
15
+ cmd = "cd {bin_dir} && {yq} {args} {eval_cmd} {expression} {sources} {maybe_out}".format(
16
+ - bin_dir = ctx.bin_dir.path + "/" + ctx.label.package,
17
+ + bin_dir = bin_dir,
18
+ yq = escape_bin_dir + yq_bin.path,
19
+ eval_cmd = "eval" if len(inputs) <= 1 else "eval-all",
20
+ args = " ".join(args),
Original file line number Diff line number Diff line change @@ -339,7 +339,12 @@ def envoy_dependencies(skip_targets = []):
339
339
patches = ["@envoy//bazel:rules_pkg.patch" ],
340
340
)
341
341
external_http_archive ("com_github_aignas_rules_shellcheck" )
342
- external_http_archive ("aspect_bazel_lib" )
342
+ external_http_archive (
343
+ "aspect_bazel_lib" ,
344
+ patch_args = ["-p1" ],
345
+ patches = ["@envoy//bazel:aspect.patch" ],
346
+ )
347
+
343
348
_com_github_fdio_vpp_vcl ()
344
349
345
350
# Unconditional, since we use this only for compiler-agnostic fuzzing utils.
You can’t perform that action at this time.
0 commit comments