From dad97e8d14e6f0cb1c804d13bceb0357d8b1d68a Mon Sep 17 00:00:00 2001 From: Morten Mjelva Date: Sun, 24 Sep 2023 14:50:50 +0200 Subject: [PATCH] Export workspace file in go_repository_config.bzl --- internal/go_repository_config.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/go_repository_config.bzl b/internal/go_repository_config.bzl index 02c425806..3025095a1 100644 --- a/internal/go_repository_config.bzl +++ b/internal/go_repository_config.bzl @@ -62,7 +62,7 @@ def _go_repository_config_impl(ctx): # add an empty build file so Bazel recognizes the config ctx.file( "BUILD.bazel", - "", + "exports_files([\"WORKSPACE\"])", False, )