diff --git a/utils/bazel/zlib.bzl b/utils/bazel/zlib.bzl --- a/utils/bazel/zlib.bzl +++ b/utils/bazel/zlib.bzl @@ -24,7 +24,7 @@ "BUILD", repository_ctx.attr._external_build_template, substitutions = { - "@external_zlib_repo//:zlib_rule": str(repository_ctx.attr.external_zlib), + "@external_zlib_repo//:zlib_rule": repository_ctx.attr.external_zlib, }, executable = False, ) @@ -36,7 +36,7 @@ default = Label("//deps_impl:zlib_external.BUILD"), allow_single_file = True, ), - "external_zlib": attr.label( + "external_zlib": attr.string( doc = "The dependency that should be used for the external zlib library.", mandatory = True, ),