Skip to content

Commit 64ae750

Browse files
committed
wip: try bzlmod
1 parent 7c73642 commit 64ae750

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

MODULE.bazel

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
11
bazel_dep(name = "rules_cc", version = "0.0.17")
2-
bazel_dep(name = "instrument_hooks", version = "1.0.0")
3-
4-
git_override(
5-
module_name = "instrument_hooks",
6-
commit = "42ed74076c697c2f06c5ac81a84ccee983d7f140",
7-
remote = "https://github.com/CodSpeedHQ/instrument-hooks",
8-
)
2+
bazel_dep(name = "bazel_skylib", version = "1.7.1")
3+
bazel_dep(name = "platforms", version = "0.0.10")

WORKSPACE.bzlmod

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# WORKSPACE.bzlmod
2+
# This file provides dependencies that are not available in the Bazel Central Registry.
3+
# When Bzlmod is enabled, this file takes precedence over WORKSPACE.
4+
5+
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
6+
7+
# Fetch instrument-hooks directly from GitHub
8+
git_repository(
9+
name = "instrument_hooks",
10+
remote = "https://github.com/CodSpeedHQ/instrument-hooks",
11+
commit = "42ed74076c697c2f06c5ac81a84ccee983d7f140",
12+
)

0 commit comments

Comments
 (0)