Skip to content

Commit e8831a8

Browse files
Workaround apple-sdk/zlib incompatibility
1 parent 2127b51 commit e8831a8

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

WORKSPACE

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,18 @@ workspace(name = "io_tweag_inline_java")
33
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
44

55

6+
# workarorund for https://github.com/bazelbuild/bazel/issues/25124
7+
8+
zlib_version = "1.3.1"
9+
zlib_sha256 = "9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23"
10+
http_archive(
11+
name = "zlib",
12+
build_file = "@com_google_protobuf//:third_party/zlib.BUILD",
13+
sha256 = zlib_sha256,
14+
strip_prefix = "zlib-%s" % zlib_version,
15+
urls = ["https://github.com/madler/zlib/releases/download/v{v}/zlib-{v}.tar.gz".format(v = zlib_version)],
16+
)
17+
618
# rules_nixpkgs and rules_haskell
719

820
http_archive(

0 commit comments

Comments
 (0)