forked from mirrors/nixpkgs
stdenv/setup.sh: unbreak *.lz sources on darwin
This commit is contained in:
parent
01c0be6ece
commit
fcafdd2761
|
@ -450,6 +450,10 @@ unpackFile() {
|
|||
# Don't rely on tar knowing about .xz.
|
||||
xz -d < $curSrc | tar xf -
|
||||
;;
|
||||
*.tar.lz )
|
||||
# Don't rely on tar knowing about .lz.
|
||||
lzip -d < $curSrc | tar xf -
|
||||
;;
|
||||
*.tar | *.tar.* | *.tgz | *.tbz2)
|
||||
# GNU tar can automatically select the decompression method
|
||||
# (info "(tar) gzip").
|
||||
|
|
Loading…
Reference in a new issue