mirror of
https://github.com/NixOS/nix
synced 2025-07-07 14:21:48 +02:00
installer: also test for xz to unpack
(cherry picked from commit 9450dece24
)
Signed-off-by: Domen Kožar <domen@dev.si>
This commit is contained in:
parent
a49950d817
commit
18b1e65158
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue