Skip to content

Commit

Permalink
prelude: add .tar.bz2 support to http_archive
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Seipp <aseipp@pobox.com>
  • Loading branch information
thoughtpolice authored Jul 14, 2024
1 parent b57cc27 commit 98a189d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions prelude/http_archive/http_archive.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ load(":exec_deps.bzl", "HttpArchiveExecDeps")
# Flags to apply to decompress the various types of archives.
_TAR_FLAGS = {
"tar": [],
"tar.bz2": ["-j"],
"tar.gz": ["-z"],
"tar.xz": ["-J"],
"tar.zst": ["--use-compress-program=unzstd"],
Expand Down

0 comments on commit 98a189d

Please sign in to comment.