mirror of
https://github.com/NixOS/nix.git
synced 2025-02-16 17:02:28 +00:00
installer: also test for xz to unpack
This commit is contained in:
parent
4ef43198f3
commit
9450dece24
@ -36,6 +36,7 @@ tarball="$tmpDir/$(basename "$tmpDir/nix-@nixVersion@-$system.tar.xz")"
|
||||
|
||||
require_util curl "download the binary tarball"
|
||||
require_util tar "unpack the binary tarball"
|
||||
require_util xz "unpack the binary tarball"
|
||||
|
||||
echo "downloading Nix @nixVersion@ binary tarball for $system from '$url' to '$tmpDir'..."
|
||||
curl -L "$url" -o "$tarball" || oops "failed to download '$url'"
|
||||
|
Loading…
Reference in New Issue
Block a user