mirror of
https://github.com/NixOS/nix.git
synced 2025-02-16 17:02:28 +00:00
Pass -J to tar for xz decompression
Some tar implementations can't auto-detect compression formats, so
they must be specified explicitly.
(cherry picked from commit 43eb7b6756
)
Signed-off-by: Domen Kožar <domen@dev.si>
This commit is contained in:
parent
dd9c8a5f60
commit
47a12576ff
@ -56,7 +56,7 @@ fi
|
||||
|
||||
unpack=$tmpDir/unpack
|
||||
mkdir -p "$unpack"
|
||||
tar -xf "$tarball" -C "$unpack" || oops "failed to unpack '$url'"
|
||||
tar -xJf "$tarball" -C "$unpack" || oops "failed to unpack '$url'"
|
||||
|
||||
script=$(echo "$unpack"/*/install)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user