From b2cf5f79b2eea40291c9cb5157de18bdcacac0c6 Mon Sep 17 00:00:00 2001 From: James Sharpe Date: Wed, 1 Jan 2025 23:59:55 +0000 Subject: [PATCH] Force version of skylib --- docs/WORKSPACE.bazel | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/docs/WORKSPACE.bazel b/docs/WORKSPACE.bazel index ff6467b57..5ab827fe5 100644 --- a/docs/WORKSPACE.bazel +++ b/docs/WORKSPACE.bazel @@ -5,6 +5,17 @@ local_repository( path = "..", ) +load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") + +http_archive( + name = "bazel_skylib", + sha256 = "bc283cdfcd526a52c3201279cda4bc298652efa898b10b4db0837dc51652756f", + urls = [ + "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", + ], +) + load("@rules_foreign_cc//foreign_cc:repositories.bzl", "rules_foreign_cc_dependencies") rules_foreign_cc_dependencies() @@ -27,8 +38,6 @@ py_repositories() # Gazelle dependencies -load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") - http_archive( name = "bazel_gazelle", sha256 = "b7387f72efb59f876e4daae42f1d3912d0d45563eac7cb23d1de0b094ab588cf",