Skip to content

Instantly share code, notes, and snippets.

@mikesplain
Created February 20, 2018 20:13
Show Gist options
  • Save mikesplain/65c8d8259baa6e8ece8acf8c609413e2 to your computer and use it in GitHub Desktop.
Save mikesplain/65c8d8259baa6e8ece8acf8c609413e2 to your computer and use it in GitHub Desktop.
bazel workspace fix
diff --git a/WORKSPACE b/WORKSPACE
index bd08ee851..85fd003c8 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -1,10 +1,10 @@
#=============================================================================
# Go rules
-http_archive(
+git_repository(
name = "io_bazel_rules_go",
- sha256 = "4d8d6244320dd751590f9100cf39fd7a4b75cd901e1f3ffdfd6f048328883695",
- url = "https://github.com/bazelbuild/rules_go/releases/download/0.9.0/rules_go-0.9.0.tar.gz",
+ commit = "ff7e3364d9383cf14155f8c2efc87218d07eb03b",
+ remote = "https://github.com/bazelbuild/rules_go.git",
)
load("@io_bazel_rules_go//go:def.bzl", "go_rules_dependencies", "go_register_toolchains", "go_download_sdk")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment