summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2025-06-04 21:59:48 +0200
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2025-06-04 21:59:48 +0200
commit19e2164441f18387cbfcacecc74170a3b0535387 (patch)
treea7f75eee2874b89570dd8c4c7bc32f803dec42b7
parentb8a87223bb70fccc47ba0f9c96b3f58de6e1e5bd (diff)
Use the new Bazel registryHEADmain
-rw-r--r--.bazelrc3
-rw-r--r--MODULE.bazel7
-rw-r--r--MODULE.bazel.lock4
3 files changed, 8 insertions, 6 deletions
diff --git a/.bazelrc b/.bazelrc
index 1acd102..81e46ce 100644
--- a/.bazelrc
+++ b/.bazelrc
@@ -1,3 +1,6 @@
+common --registry=https://bcr.bazel.build/
+common --registry=https://bazel.stevenlr.com/registry/
+
startup --windows_enable_symlinks
build:windows --enable_runfiles=true
diff --git a/MODULE.bazel b/MODULE.bazel
index 6c224af..8d856b3 100644
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -11,12 +11,7 @@ bazel_dep(name = "rules_cc", version = "0.1.1")
cc_configure = use_extension("@rules_cc//cc:extensions.bzl", "cc_configure_extension")
use_repo(cc_configure, "local_config_cc")
-bazel_dep(name = "hedron_compile_commands", dev_dependency = True)
-git_override(
- module_name = "hedron_compile_commands",
- remote = "https://github.com/hedronvision/bazel-compile-commands-extractor.git",
- commit = "4f28899228fb3ad0126897876f147ca15026151e",
-)
+bazel_dep(name = "hedron_compile_commands", version = "0.1.0", dev_dependency = True)
bazel_dep(name = "rules_python", version = "1.3.0")
python = use_extension("@rules_python//python/extensions:python.bzl", "python")
diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock
index a47fe3f..55c4990 100644
--- a/MODULE.bazel.lock
+++ b/MODULE.bazel.lock
@@ -1,6 +1,9 @@
{
"lockFileVersion": 18,
"registryFileHashes": {
+ "https://bazel.stevenlr.com/registry/bazel_registry.json": "8a28e4aff06ee60aed2a8c281907fb8bcbf3b753c91fb5a5c57da3215d5b3497",
+ "https://bazel.stevenlr.com/registry/modules/hedron_compile_commands/0.1.0/MODULE.bazel": "5623ba8f732a01246c388bccebf924357e452314a178f179d3b375b623d5a359",
+ "https://bazel.stevenlr.com/registry/modules/hedron_compile_commands/0.1.0/source.json": "c55f6caa3eb9fb027af66949c23ca537214eb32b0316ae95bcc496f3cd8406b9",
"https://bcr.bazel.build/bazel_registry.json": "8a28e4aff06ee60aed2a8c281907fb8bcbf3b753c91fb5a5c57da3215d5b3497",
"https://bcr.bazel.build/modules/abseil-cpp/20210324.2/MODULE.bazel": "7cd0312e064fde87c8d1cd79ba06c876bd23630c83466e9500321be55c96ace2",
"https://bcr.bazel.build/modules/abseil-cpp/20211102.0/MODULE.bazel": "70390338f7a5106231d20620712f7cccb659cd0e9d073d1991c038eb9fc57589",
@@ -39,6 +42,7 @@
"https://bcr.bazel.build/modules/googletest/1.14.0.bcr.1/MODULE.bazel": "22c31a561553727960057361aa33bf20fb2e98584bc4fec007906e27053f80c6",
"https://bcr.bazel.build/modules/googletest/1.14.0.bcr.1/source.json": "41e9e129f80d8c8bf103a7acc337b76e54fad1214ac0a7084bf24f4cd924b8b4",
"https://bcr.bazel.build/modules/googletest/1.14.0/MODULE.bazel": "cfbcbf3e6eac06ef9d85900f64424708cc08687d1b527f0ef65aa7517af8118f",
+ "https://bcr.bazel.build/modules/hedron_compile_commands/0.1.0/MODULE.bazel": "not found",
"https://bcr.bazel.build/modules/jsoncpp/1.9.5/MODULE.bazel": "31271aedc59e815656f5736f282bb7509a97c7ecb43e927ac1a37966e0578075",
"https://bcr.bazel.build/modules/jsoncpp/1.9.5/source.json": "4108ee5085dd2885a341c7fab149429db457b3169b86eb081fa245eadf69169d",
"https://bcr.bazel.build/modules/libpfm/4.11.0/MODULE.bazel": "45061ff025b301940f1e30d2c16bea596c25b176c8b6b3087e92615adbd52902",