In another thread, Eelco Dolstra provided a straightforward answer for people searching for a way to download statically linked Nix binary directly.
TL;DR
- download the binary from https://hydra.nixos.org/job/nix/master/buildStatic.x86_64-linux/latest/download-by-type/file/binary-dist
- Rename it as
nix
chmod +x ./nix
The above URL downloads the product of the Hydra job nix:master:buildStatic.x86_64-linux
.
2 Likes