bazel-lib
bazel-lib copied to clipboard
[FR]: tar is non-hermetic when compress is set to zstd
What is the current behavior?
When tar is configured using compress = "zstd", it looks for zstd on the path. If the zstd_toolchain is registered, then we should append this to path.
Describe the feature
We want to make tar hermetic when using zstd compression.
The bug is actually in the BCR entry for libarchive, see https://github.com/aspect-build/bazel-lib/pull/878#issuecomment-2225981766