diff --git a/WORKSPACE b/WORKSPACE index ab55b774b..b59874616 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -27,7 +27,23 @@ http_archive( load("@hermetic_cc_toolchain//toolchain:defs.bzl", zig_toolchains = "toolchains") -zig_toolchains() +# Temporarily use a nightly build until 0.12.0 is released. +# See: https://github.com/prysmaticlabs/prysm/issues/13130 +zig_toolchains( + host_platform_sha256 = { + "linux-aarch64": "45afb8e32adde825165f4f293fcea9ecea503f7f9ec0e9bf4435afe70e67fb70", + "linux-x86_64": "f136c6a8a0f6adcb057d73615fbcd6f88281b3593f7008d5f7ed514ff925c02e", + "macos-aarch64": "05d995853c05243151deff47b60bdc2674f1e794a939eaeca0f42312da031cee", + "macos-x86_64": "721754ba5a50f31e8a1f0e1a74cace26f8246576878ac4a8591b0ee7b6db1fc1", + "windows-x86_64": "93f5248b2ea8c5ee8175e15b1384e133edc1cd49870b3ea259062a2e04164343", + }, + url_formats = [ + "https://ziglang.org/builds/zig-{host_platform}-{version}.{_ext}", + "https://mirror.bazel.build/ziglang.org/builds/zig-{host_platform}-{version}.{_ext}", + "https://prysmaticlabs.com/mirror/ziglang.org/builds/zig-{host_platform}-{version}.{_ext}", + ], + version = "0.12.0-dev.1349+fa022d1ec", +) # Register zig sdk toolchains with support for Ubuntu 20.04 (Focal Fossa) which has an EOL date of April, 2025. # For ubuntu glibc support, see https://launchpad.net/ubuntu/+source/glibc