Trying to follow the install instructions for nix and I am getting a “curl (23) Failure writing output to destination”. It’s trying to write to ./tmp and I checked the permissions. I even tried taking ownership of the folder and still no luck. Here is my output after running bash <(curl -L https://nixos.org/nix/install)
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 2619 100 2619 0 0 3469 0 --:--:-- --:--:-- --:--:-- 3469
downloading Nix 2.3.15 binary tarball for x86_64-linux from 'https://releases.nixos.org/nix/nix-2.3.15/nix-2.3.15-x86_64-linux.tar.xz' to '/tmp/nix-binary-tarball-unpack.TPM2cTukvX'...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Failed to create the file
Warning: /tmp/nix-binary-tarball-unpack.TPM2cTukvX/nix-2.3.15-x86_64-linux.tar.
Warning: xz: No such file or directory
0 25.6M 0 1406 0 0 4808 0 1:33:22 --:--:-- 1:33:22 4815
curl: (23) Failure writing output to destination
/dev/fd/63: failed to download 'https://releases.nixos.org/nix/nix-2.3.15/nix-2.3.15-x86_64-linux.tar.xz'
I have about 230GB free on the SSD so it’s not a space issue. Any help would be much appreciated.