2023-11-19 03:00:40 +00:00
|
|
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
|
|
|
|
|
|
|
http_archive(
|
|
|
|
name = "bazel_skylib",
|
2024-09-15 08:45:22 +00:00
|
|
|
sha256 = "bc283cdfcd526a52c3201279cda4bc298652efa898b10b4db0837dc51652756f",
|
2023-11-19 03:00:40 +00:00
|
|
|
urls = [
|
2024-09-15 08:45:22 +00:00
|
|
|
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.7.1/bazel-skylib-1.7.1.tar.gz",
|
|
|
|
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.7.1/bazel-skylib-1.7.1.tar.gz",
|
2023-11-19 03:00:40 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
|
|
|
|
|
|
|
|
bazel_skylib_workspace()
|
|
|
|
|
|
|
|
local_repository(
|
|
|
|
name = "aspect_bazel_lib",
|
|
|
|
path = "../..",
|
|
|
|
)
|
|
|
|
|
|
|
|
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies", "register_coreutils_toolchains")
|
|
|
|
|
|
|
|
aspect_bazel_lib_dependencies()
|
|
|
|
|
|
|
|
# Registering coreutils is required under WORKSPACE for the copy action to work
|
|
|
|
# Under bzlmod, this is done automatically by just depending on the bazel-lib module.
|
|
|
|
register_coreutils_toolchains()
|