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 10, 2024
1 parent 440940a commit 2f8fe7b
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(
"WORKSPACE.bazel",
Label("//elisp:WORKSPACE.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 2f8fe7b

Please sign in to comment.