blob: 15584f2a037c831c21fdee6e382903c1d07ead0d [file] [log] [blame]
diff --git a/third_party/nix/repository_rules.bzl b/third_party/nix/repository_rules.bzl
index 35c3d2d..3386d4b 100644
--- a/third_party/nix/repository_rules.bzl
+++ b/third_party/nix/repository_rules.bzl
@@ -16,7 +16,7 @@ def hscloud_go_register_toolchains():
imports_for_non_nix = """
load("@io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains")
def hscloud_go_register_toolchains():
- go_register_toolchains()
+ go_register_toolchains(go_version="host")
"""
if has_nix(ctx):