bazel: migrate skylib to bzlmod

This commit is contained in:
Malte Poll 2024-05-21 13:29:56 +02:00
parent 8796edc9ad
commit 3be4adb7c4
3 changed files with 2 additions and 19 deletions

View File

@ -1 +1,3 @@
module(name = "constellation")
bazel_dep(name = "bazel_skylib", version = "1.6.1")

View File

@ -5,10 +5,6 @@ workspace(name = "constellation")
# Please extend this list as you find more.
# - rules_nixpkgs: https://github.com/tweag/rules_nixpkgs/issues/181
load("//bazel/toolchains:skylib_deps.bzl", "skylib_deps")
skylib_deps()
load("//bazel/toolchains:cc_deps.bzl", "rules_cc_deps")
rules_cc_deps()

View File

@ -1,15 +0,0 @@
"""bazel skylib"""
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
def skylib_deps():
http_archive(
name = "bazel_skylib",
sha256 = "9f38886a40548c6e96c106b752f242130ee11aaa068a56ba7e56f4511f33e4f2",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.6.1/bazel-skylib-1.6.1.tar.gz",
"https://cdn.confidential.cloud/constellation/cas/sha256/9f38886a40548c6e96c106b752f242130ee11aaa068a56ba7e56f4511f33e4f2",
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.6.1/bazel-skylib-1.6.1.tar.gz",
],
type = "tar.gz",
)