From c11d7ce0133088d69e5a18541f219490cc3c1996 Mon Sep 17 00:00:00 2001 From: Morten Mjelva Date: Sun, 24 Sep 2023 15:12:25 +0200 Subject: [PATCH] Export workspace file in go_repository_config.bzl (#1641) --- 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, )