$ NP_DEBUG=2 ./nix-portable nix-shell -p hello
…
error: cannot connect to socket at '/nix/var/nix/daemon-socket/socket': No such file or directory
(use '--show-trace' to show detailed location information)
+ echo 'Fatal error: nix is unable to build packages'
Fatal error: nix is unable to build packages
+ exit 1
This is on Manjaro, with a system-wide installation of Nix from the distro repositories.
The socket filepath in question does exist in the system root, unrelated to nix-portable:
This is on Manjaro, with a system-wide installation of Nix from the distro repositories.
The socket filepath in question does exist in the system root, unrelated to
nix-portable
:Happens with
nix build
of latestmaster
, and also withnix-portable-009
release from January 2022.