Skip to content

Commit 801d362

Browse files
authored
Add note about xz requirement for tarball in install-nix.md (#1119)
Since we're providing for download `.tar.xz` binary tarballs, we assume that systems have xz-utils or similar for handling that compression format. We should make a note of this small requirement at the beginning of the Install Nix page. Ref for WSL : ``` PS C:\Users\thadg> wsl thad@MarsOrBust:/mnt/c/Users/thadg$ curl -L https://nixos.org/nix/install | sh -s -- --daemon % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0 100 4267 100 4267 0 0 880 0 0:00:04 0:00:04 --:--:-- 5216 sh: you do not have 'xz' installed, which I need to unpack the binary tarball ``` Fixed after running `sudo apt install xz-utils` for my Debian distribution with WSL
1 parent 261f73e commit 801d362

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/install-nix.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
(install-nix)=
22

33
# Install Nix
4+
Requirements:
5+
- Prior to installation, you might need to first install `xz-utils` or similar for uncompressing the Nix binary tarball (`.tar.xz`) that will be downloaded via the scripts below.
46

57
:::::{tab-set}
68

0 commit comments

Comments
 (0)