Skip to content

Commit 9e85eee

Browse files
sayrerclaude
andcommitted
Add nlohmann_json 3.12.0.bcr.1 override for Bazel 9 cc_library load.
rules_swift 3.3.0 depends on nlohmann_json 3.12.0 which uses native cc_library. The bcr.1 version adds the required load() statement. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent dd94ddd commit 9e85eee

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

MODULE.bazel

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ single_version_override(
4545
version = "3.3.0",
4646
)
4747

48+
# Override nlohmann_json to bcr.1 which adds cc_library load for Bazel 9
49+
bazel_dep(name = "nlohmann_json", version = "3.12.0.bcr.1")
50+
4851
bazel_dep(name = "platforms", version = "1.0.0")
4952
bazel_dep(name = "yams", version = "6.2.0")
5053
single_version_override(

0 commit comments

Comments
 (0)