Actually download the right archive

This commit is contained in:
Marcel Hlopko 2019-03-20 13:17:49 +01:00
parent 70582c01ca
commit 6181c870fc
1 changed files with 5 additions and 5 deletions

View File

@ -56,13 +56,13 @@ http_archive(
# Go rules and proto support
http_archive(
name = "io_bazel_rules_go",
sha256 = "77dfd303492f2634de7a660445ee2d3de2960cbd52f97d8c0dffa9362d3ddef9",
strip_prefix = "rules_go-0.18.1",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/archive/0.18.1.tar.gz",
"https://github.com/bazelbuild/rules_go/archive/0.18.1.tar.gz",
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/0.18.1/rules_go-0.18.1.tar.gz",
"https://github.com/bazelbuild/rules_go/releases/download/0.18.1/rules_go-0.18.1.tar.gz",
],
sha256 = "77dfd303492f2634de7a660445ee2d3de2960cbd52f97d8c0dffa9362d3ddef9",
)
load("@io_bazel_rules_go//go:def.bzl", "go_rules_dependencies", "go_register_toolchains")
load("@io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains")
go_rules_dependencies()
go_register_toolchains()