Skip to content

Commit

Permalink
Use patched rules_perl (from lalten BCR fork) (#1)
Browse files Browse the repository at this point in the history
* Use lalten BCR fork

* set version

* comment bazelrc
  • Loading branch information
lalten authored Aug 17, 2024
1 parent dc9ba47 commit 1903114
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 15 deletions.
2 changes: 2 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Remove when this PR is landed: https://github.com/bazelbuild/bazel-central-registry/pull/2631
common --registry https://raw.githubusercontent.com/lalten/bazel-central-registry/rules_perl-includes_attr
12 changes: 4 additions & 8 deletions MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
module(name = "rules_cpan", version = "0.0.0")

bazel_dep(name = "rules_perl", version = "0.2.0")
git_override(
# https://github.com/bazelbuild/rules_perl/pull/62
module_name = "rules_perl",
remote = "https://github.com/lalten/rules_perl",
commit = "973efb79defe0c417aa9655ac24a09148d599e9e",
module(
name = "rules_cpan",
version = "1.0.0",
)

bazel_dep(name = "rules_perl", version = "0.2.3.bcr.1") # https://github.com/bazelbuild/bazel-central-registry/pull/2631
bazel_dep(name = "rules_python", version = "0.34.0")
1 change: 1 addition & 0 deletions example/.bazelrc
8 changes: 1 addition & 7 deletions example/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
module(name = "rules_cpan_example", version = "0.0.0")

bazel_dep(name = "rules_perl")
git_override(
# https://github.com/bazelbuild/rules_perl/pull/62
module_name = "rules_perl",
remote = "https://github.com/lalten/rules_perl",
commit = "973efb79defe0c417aa9655ac24a09148d599e9e",
)
bazel_dep(name = "rules_perl", version = "0.2.3.bcr.1")

bazel_dep(name = "rules_cpan")
local_path_override(
Expand Down

0 comments on commit 1903114

Please sign in to comment.