summaryrefslogtreecommitdiffstats
path: root/pkgs/development/tools/bazel-watcher/use-go-in-path.patch
diff options
context:
space:
mode:
authorWael M. Nasreddine <wael.nasreddine@gmail.com>2019-06-26 18:02:38 -0700
committerWael M. Nasreddine <wael.nasreddine@gmail.com>2019-06-26 18:56:45 -0700
commitc273648a209ff231c6043e68301916f4187cb10e (patch)
treea3187dd8e2b0dd43ae2a76b9fdccb61c55c1b357 /pkgs/development/tools/bazel-watcher/use-go-in-path.patch
parent616e52e21be358fbd76d7cbd9a6d4744232490fb (diff)
bazel-watcher: replace the sed commands with a patch
Diffstat (limited to 'pkgs/development/tools/bazel-watcher/use-go-in-path.patch')
-rw-r--r--pkgs/development/tools/bazel-watcher/use-go-in-path.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/development/tools/bazel-watcher/use-go-in-path.patch b/pkgs/development/tools/bazel-watcher/use-go-in-path.patch
new file mode 100644
index 000000000000..010ba56165d9
--- /dev/null
+++ b/pkgs/development/tools/bazel-watcher/use-go-in-path.patch
@@ -0,0 +1,13 @@
+diff --git a/WORKSPACE b/WORKSPACE
+index 51273b6..fcf9ffb 100644
+--- a/WORKSPACE
++++ b/WORKSPACE
+@@ -61,7 +61,7 @@ load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_depe
+
+ go_rules_dependencies()
+
+-go_register_toolchains()
++go_register_toolchains(go_version = "host")
+
+ load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies", "go_repository")
+