1

repository_rule: depend on $BAZEL_ZIG_CC_CACHE_PREFIX

Otherwise the repository doesn't get re-downloaded/wiped when this
parameter changes.
This commit is contained in:
Motiejus Jakštys 2022-09-12 13:46:07 +03:00
parent 2f0ae4affa
commit bf32b5ee92

View File

@ -232,6 +232,7 @@ zig_repository = repository_rule(
"host_platform_include_root": attr.string_dict(),
"host_platform_ext": attr.string_dict(),
},
environ = ["BAZEL_ZIG_CC_CACHE_PREFIX"],
implementation = _zig_repository_impl,
)