Skip to content

Commit d11cc0e

Browse files
HoloRindumbbell
authored andcommitted
Partially revert commit 3253fe4
Khepri needs ra, and unless khepri is a native bazel dep, we still need to declare ra in the classic fashion
1 parent efb9dd0 commit d11cc0e

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

MODULE.bazel

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,14 @@ erlang_package.hex_package(
326326
version = "0.2.1",
327327
)
328328

329+
erlang_package.hex_package(
330+
name = "ra_alt",
331+
pkg = "ra",
332+
build_file = "@rabbitmq-server//bazel:BUILD.ra",
333+
sha256 = "1cc3101c8f7382dc73bb3fc9f044c16261306f5cbba3d79a5a6f5176695f7a18",
334+
version = "2.6.3",
335+
)
336+
329337
erlang_package.hex_package(
330338
name = "ranch",
331339
build_file = "@rabbitmq-server//bazel:BUILD.ranch",
@@ -398,6 +406,7 @@ use_repo(
398406
"khepri_mnesia_migration",
399407
"observer_cli",
400408
"prometheus",
409+
"ra_alt",
401410
"ranch",
402411
"recon",
403412
"redbug",

bazel/BUILD.khepri

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ erlang_app(
132132
priv = [":priv"],
133133
deps = [
134134
"@horus//:erlang_app",
135-
"@ra//:erlang_app",
135+
"@ra_alt//:erlang_app",
136136
],
137137
)
138138

@@ -172,7 +172,7 @@ erlang_bytecode(
172172
erlc_opts = "//:erlc_opts",
173173
deps = [
174174
"@horus//:erlang_app",
175-
"@ra//:erlang_app",
175+
"@ra_alt//:erlang_app",
176176
],
177177
)
178178

0 commit comments

Comments
 (0)