Skip to content

Commit 0384be5

Browse files
Fix Bazel fetch of rules_pkg.
* Patch `rules_pkg` to remove the failing external repo. #codehealth PiperOrigin-RevId: 786562505
1 parent 4537ed4 commit 0384be5

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

src/MODULE.bazel

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,14 @@ bazel_dep(
8282
name = "rules_pkg",
8383
version = "1.1.0",
8484
)
85+
single_version_override(
86+
module_name = "rules_pkg",
87+
patches = [
88+
# Patch to fix the failure of Bazel fetch.
89+
"bazel/rules_pkg_MODULE.bazel.patch",
90+
],
91+
version = "1.1.0",
92+
)
8593

8694
# rules_python: 1.4.1 2025-05-09
8795
# https://github.com/bazelbuild/rules_python/
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
--- MODULE.bazel
2+
+++ MODULE.bazel
3+
@@ -36,7 +36,3 @@ register_toolchains(
4+
5+
local_repository = use_repo_rule("@bazel_tools//tools/build_defs/repo:local.bzl", "local_repository")
6+
7+
-local_repository(
8+
- name = "mappings_test_external_repo",
9+
- path = "tests/mappings/external_repo",
10+
-)

0 commit comments

Comments
 (0)