Skip to content

Commit

Permalink
Partially revert commit 3253fe4
Browse files Browse the repository at this point in the history
Khepri needs ra, and unless khepri is a native bazel dep, we still
need to declare ra in the classic fashion
  • Loading branch information
pjk25 authored and dumbbell committed Sep 29, 2023
1 parent ec1bfff commit e038944
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
18 changes: 18 additions & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,22 @@ erlang_package.hex_package(
version = "0.2.1",
)

erlang_package.hex_package(
name = "ra_alt",
pkg = "ra",
build_file = "@rabbitmq-server//bazel:BUILD.ra",
sha256 = "f4dd317ab4030c0b14453bcf70179130f388dec35f7d59b6c7edcdfa25270397",
version = "2.7.0",
)

erlang_package.hex_package(
name = "seshat_alt",
pkg = "seshat",
build_file = "@rabbitmq-server//bazel:BUILD.seshat",
sha256 = "7cef700f92831dd7cae6a6dd223ccc55ac88ecce0631ee9ab0f2b5fb70e79b90",
version = "0.6.0",
)

erlang_package.hex_package(
name = "ranch",
build_file = "@rabbitmq-server//bazel:BUILD.ranch",
Expand Down Expand Up @@ -398,9 +414,11 @@ use_repo(
"khepri_mnesia_migration",
"observer_cli",
"prometheus",
"ra_alt",
"ranch",
"recon",
"redbug",
"seshat_alt",
"stdout_formatter",
"syslog",
"sysmon_handler",
Expand Down
6 changes: 4 additions & 2 deletions bazel/BUILD.khepri
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ erlang_app(
priv = [":priv"],
deps = [
"@horus//:erlang_app",
"@ra//:erlang_app",
"@ra_alt//:erlang_app",
"@seshat_alt//:erlang_app",
],
)

Expand Down Expand Up @@ -172,7 +173,8 @@ erlang_bytecode(
erlc_opts = "//:erlc_opts",
deps = [
"@horus//:erlang_app",
"@ra//:erlang_app",
"@ra_alt//:erlang_app",
"@seshat_alt//:erlang_app",
],
)

Expand Down
2 changes: 1 addition & 1 deletion bazel/BUILD.ra
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ erlang_app(
deps = [
"@aten//:erlang_app",
"@gen_batch_server//:erlang_app",
"@seshat//:erlang_app",
"@seshat_alt//:erlang_app",
],
)

Expand Down

0 comments on commit e038944

Please sign in to comment.