-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Description
System:
macbook pro m2, 32GB, 2TB
macos: Sequoia 15.3.2
Nix Installer: Determinate.pkg, downloaded 3/20/2025
Installation completed, and rebooted
Attempted to run ponysay example
echo "Hello Nix" | nix run "https://flakehub.com/f/NixOS/nixpkgs/*#ponysay"
Result
error:
… while fetching the input 'https://flakehub.com/f/NixOS/nixpkgs/%2A'
error: cannot connect to socket at '/nix/var/nix/daemon-socket/socket': No such file or directory
I ran a couple of directory commands to verify that the socket does not exist:
~ ls -la /nix/var/nix/daemon-socket/socket
lrwxr-xr-x - root 20 Mar 02:52 /nix/var/nix/daemon-socket/socket -> /var/run/nix-daemon.socket
[jmurray@mac]~/code/rust/nix 0 [11:05:33]
~ ls -la /var/run/nix-daemon.socket
"/var/run/nix-daemon.socket": No such file or directory (os error 2)
[jmurray@mac]~/code/rust/nix 0 [11:05:40]
So, the installation created a pointer to a socket that does not exist.
One post suggested that I try to launch the process, but this did not change anything:
sudo launchctl load /Library/LaunchDaemons/org.nixos.nix-daemon.plist
Password:
Load failed: 5: Input/output error
I saw another issue on github that was similar with no solutions.
I like my mac and would like to use nix....
Thank you!
Metadata
Metadata
Assignees
Labels
No labels