aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Middendorf <middendorf@plapadoo.de>2020-03-21 09:31:39 +0100
committerPhilipp Middendorf <middendorf@plapadoo.de>2020-03-21 09:31:39 +0100
commit9450dece24edd34613d887c7c0a1f2e58d86ecb4 (patch)
treec7034c4f139df352d48182def1bc7fc042b25217
parent4ef43198f341499189f1f9e7e9069224cb4d19ac (diff)
installer: also test for xz to unpack
-rw-r--r--scripts/install.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/install.in b/scripts/install.in
index 4500fd54a..6709f00d4 100644
--- a/scripts/install.in
+++ b/scripts/install.in
@@ -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'"