bazel-lib icon indicating copy to clipboard operation
bazel-lib copied to clipboard

[FR]: tar is non-hermetic when compress is set to zstd

Open ewhauser opened this issue 1 year ago • 1 comments

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.

ewhauser avatar Jul 09 '24 17:07 ewhauser

The bug is actually in the BCR entry for libarchive, see https://github.com/aspect-build/bazel-lib/pull/878#issuecomment-2225981766

alexeagle avatar Jul 12 '24 17:07 alexeagle