Skip to content

Commit

Permalink
Remove workaround for bazelbuild/bazel#15916.
Browse files Browse the repository at this point in the history
The fix is included in all versions of Bazel starting with 6.0.
  • Loading branch information
phst committed Jan 11, 2024
1 parent a254412 commit eccb82a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion MODULE.bazel.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions elisp/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,6 @@ def _elisp_http_archive_impl(repository_ctx):
stripPrefix = repository_ctx.attr.strip_prefix,
)
defs_bzl = str(repository_ctx.attr._defs_bzl)
if not defs_bzl.startswith("@"):
# Work around https://github.com/bazelbuild/bazel/issues/15916.
defs_bzl = "@" + defs_bzl
repository_ctx.template(
"BUILD.bazel",
Label("//elisp:BUILD.template"),
Expand Down
2 changes: 1 addition & 1 deletion examples/ext/MODULE.bazel.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit eccb82a

Please sign in to comment.