From c57b55f2f6207c0c44c2b4a51dc235955d4f47b2 Mon Sep 17 00:00:00 2001 From: Florian Weikert Date: Thu, 21 Apr 2022 00:30:31 +0200 Subject: [PATCH] Use an unreleased version of rules_apple. (#899) rules_apple 0.34.0 is incompatible with Bazel @ HEAD since it does not contain https://github.com/bazelbuild/rules_apple/commit/df98f37ea725005ec8682c9cd582bac74445b689 Consequently, we need to use a newer, yet unreleased version to fix https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/2443#7266607a-bd84-4863-abe9-6543530aeed3 Eventually we should wait for a new release and use it instead. --- examples/WORKSPACE.bazel | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/WORKSPACE.bazel b/examples/WORKSPACE.bazel index 2e6a1db8..fb4ad353 100644 --- a/examples/WORKSPACE.bazel +++ b/examples/WORKSPACE.bazel @@ -58,10 +58,12 @@ load("@bazel_toolchains//rules:rbe_repo.bzl", "rbe_autoconfig") # otherwise refer to RBE docs. rbe_autoconfig(name = "buildkite_config") +# TODO: Use a rules_apple release once there is one that contains the commit below. http_archive( name = "build_bazel_rules_apple", - sha256 = "4161b2283f80f33b93579627c3bd846169b2d58848b0ffb29b5d4db35263156a", - url = "https://github.com/bazelbuild/rules_apple/releases/download/0.34.0/rules_apple.0.34.0.tar.gz", + sha256 = "7cef4355e3cd2857b246ea52ba6b3092831a91c98945cb355e0f02f6a2f29274", + strip_prefix = "rules_apple-df98f37ea725005ec8682c9cd582bac74445b689", + url = "https://github.com/bazelbuild/rules_apple/archive/df98f37ea725005ec8682c9cd582bac74445b689.tar.gz", ) load(