1
0
Fork 0
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:
Philipp Middendorf 2020-03-21 09:31:39 +01:00 committed by Domen Kožar
parent a49950d817
commit 18b1e65158
No known key found for this signature in database
GPG key ID: C2FFBCAFD2C24246

View file

@ -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'"