Skip to content

Commit

Permalink
installer: also test for xz to unpack
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Middendorf committed Mar 21, 2020
1 parent 4ef4319 commit 9450dec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/install.in
Original file line number Diff line number Diff line change
Expand Up @@ -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'"
Expand Down

0 comments on commit 9450dec

Please sign in to comment.