From 75fdf4c365e905a905e0515993a5663b00e44752 Mon Sep 17 00:00:00 2001 From: Fabian Meumertzheim Date: Tue, 18 Jan 2022 01:39:29 +0100 Subject: [PATCH] Make one label repository-absolute again (#3046) Changing this particular label to the str(Label(...)) pattern does not behave as expected (https://github.com/bazelbuild/bazel/issues/14590). It is thus safer to revert back to the old form for now and instead rely on patches in a future renaming of io_bazel_rules_go to rules_go for the BCR. --- go/private/nogo.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/private/nogo.bzl b/go/private/nogo.bzl index 3324ca6e7b..1d3491bb0e 100644 --- a/go/private/nogo.bzl +++ b/go/private/nogo.bzl @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -DEFAULT_NOGO = str(Label("//:default_nogo")) +DEFAULT_NOGO = "@io_bazel_rules_go//:default_nogo" def _go_register_nogo_impl(ctx): ctx.template(