mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 01:07:18 +03:00
3c768915b3
This does not change the version of rules_apple, it only pins the http archive instead of fetching via git tag. To avoid Bazel warnings of the following form since Bazel 3.3.1 ``` DEBUG: Rule 'build_bazel_rules_apple' indicated that a canonical reproducible form can be obtained by modifying arguments commit = "ff6a37b24fcbbd525a5bf61692a12c810d0ee3c1", shallow_since = "1559833568 -0700" and dropping ["tag"] DEBUG: Repository build_bazel_rules_apple instantiated at: no stack (--record_rule_instantiation_callstack not enabled) Repository rule git_repository defined at: /home/aj/.cache/bazel/_bazel_aj/f66bee630c6a2cd906f92a0f5cdf8769/external/bazel_tools/tools/build_defs/repo/git.bzl:195:33: in <toplevel> ``` changelog_begin changelog_end Co-authored-by: Andreas Herrmann <andreas.herrmann@tweag.io>
19 lines
736 B
Diff
19 lines
736 B
Diff
diff --git a/bazel/grpc_deps.bzl b/bazel/grpc_deps.bzl
|
|
index cce2f88fe8..ad7ecf0286 100644
|
|
--- a/bazel/grpc_deps.bzl
|
|
+++ b/bazel/grpc_deps.bzl
|
|
@@ -226,10 +226,10 @@ def grpc_deps():
|
|
)
|
|
|
|
if "build_bazel_rules_apple" not in native.existing_rules():
|
|
- git_repository(
|
|
+ http_archive(
|
|
name = "build_bazel_rules_apple",
|
|
- remote = "https://github.com/bazelbuild/rules_apple.git",
|
|
- tag = "0.17.2",
|
|
+ urls = ["https://github.com/bazelbuild/rules_apple/releases/download/0.17.2/rules_apple.0.17.2.tar.gz"],
|
|
+ sha256 = "6efdde60c91724a2be7f89b0c0a64f01138a45e63ba5add2dca2645d981d23a1",
|
|
)
|
|
|
|
# TODO: move some dependencies from "grpc_deps" here?
|