bazel-contrib/bazel-lib

2.9.0 introduced a dependency on @platforms / @host_platform for bzl

Closed this issue · 2 comments

gzm0 commented

This makes stardoc fail downstream in WORKSPACE setups

Likely culprit: #914

gzm0 commented

Workaround:

http_archive(
    name = "platforms",
    urls = [
        "https://mirror.bazel.build/github.com/bazelbuild/platforms/releases/download/0.0.10/platforms-0.0.10.tar.gz",
        "https://github.com/bazelbuild/platforms/releases/download/0.0.10/platforms-0.0.10.tar.gz",
    ],
    sha256 = "218efe8ee736d26a3572663b374a253c012b716d8af0c07e842e82f238a0a7ee",
)

load("@platforms//host:extension.bzl", "host_platform_repo")

host_platform_repo(name = "host_platform")