diff options
author | James Deikun <james.deikun@obsidian.systems> | 2018-07-30 10:44:35 -0400 |
---|---|---|
committer | James Deikun <james.deikun@obsidian.systems> | 2018-07-30 15:30:16 -0400 |
commit | bd63de114e7a317acebc5c11b77ba305cba2d605 (patch) | |
tree | 49eac892fe11b7d95249f98e66f1c136b66b5e09 /pkgs/stdenv/generic/setup.sh | |
parent | 80b5f5227e4a801bc9da70ba68d59aad54618e7c (diff) |
stdenv/build-support: support .tbz and .txz tarballs
Diffstat (limited to 'pkgs/stdenv/generic/setup.sh')
-rw-r--r-- | pkgs/stdenv/generic/setup.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/stdenv/generic/setup.sh b/pkgs/stdenv/generic/setup.sh index 8b98aac1146d..141e94c5ed46 100644 --- a/pkgs/stdenv/generic/setup.sh +++ b/pkgs/stdenv/generic/setup.sh @@ -801,11 +801,11 @@ _defaultUnpack() { else case "$fn" in - *.tar.xz | *.tar.lzma) + *.tar.xz | *.tar.lzma | *.txz) # Don't rely on tar knowing about .xz. xz -d < "$fn" | tar xf - ;; - *.tar | *.tar.* | *.tgz | *.tbz2) + *.tar | *.tar.* | *.tgz | *.tbz2 | *.tbz) # GNU tar can automatically select the decompression method # (info "(tar) gzip"). tar xf "$fn" |