From a5f36348eafd6bbab1f334cc8423101bdb189573 Mon Sep 17 00:00:00 2001 From: Isa Farnik Date: Fri, 3 Mar 2023 10:38:02 -0800 Subject: [PATCH] fix(bazel): add alt url for older zlib releases --- build/cross_deps/zlib/repositories.bzl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build/cross_deps/zlib/repositories.bzl b/build/cross_deps/zlib/repositories.bzl index cd6e78ec2621..3185b65222a8 100644 --- a/build/cross_deps/zlib/repositories.bzl +++ b/build/cross_deps/zlib/repositories.bzl @@ -8,7 +8,10 @@ def zlib_repositories(): http_archive( name = "cross_deps_zlib", - url = "https://zlib.net/zlib-1.2.13.tar.gz", + urls = [ + "https://zlib.net/zlib-1.2.13.tar.gz", + "https://zlib.net/fossils/zlib-1.2.13.tar.gz", + ], sha256 = "b3a24de97a8fdbc835b9833169501030b8977031bcb54b3b3ac13740f846ab30", strip_prefix = "zlib-1.2.13", build_file = "//build/cross_deps/zlib:BUILD.zlib.bazel",