Yeah, I’d be wary @freesig … I had additional problems with libsodium (low level crypto libs) compiling too. Got myself into this additional mess afterwards:
But between the two resources you should be able to pull it off if you set aside a whole morning/days worth of time to make updates.
I hope you didn’t follow my lead because I’ve been running into issues (as some people warned I might in the thread). I’ve had to backtrack, and instead take THIS approach to it.
Thanks @Connoropolous for the solution. I fumbled through copying your earlier attempts before finding the working solution towards the bottom of the thread. If you are able to mark your own reply as a solution, that may help future readers…
This was still the state of the art when I tried in late December. If that is still the case, I want to point out that it’s a very broken experience for a developer new to holochain… Who may be thinking, I have the latest macOS, I don’t know what this nix thing is, but it clearly doesn’t work on Mac. Even if I go to the nix site directly, the Mac instructions don’t work at all.
I personally am deeply invested in the holichain project and ecosystem, but for someone brand new, this could easily turn them away and not come back.
To this end, if not done already, I would suggest updating the install docs to at minimum link to the solution in this thread, or directly on github. cc @freesig
Thanks everyone for the great work on Holochain, deeply appreciated.
Hi I’ve tried the solution here and it worked perfectly find for me as well until I restarted my mac. First, when I run nix-shell https://holochain.love, the terminal tells me this;
error: cannot connect to daemon at ‘/nix/var/nix/daemon-socket/socket’: Connection refused
So I ran the same command again with sudo and it worked and installed the latest version of holochain but now it is showing me this error message.
it looks like nix can’t find the packages it needs so it is falling back to the system bash (which i don’t think we should even try to debug) rather than using the bash from nixpkgs
have a look at my other comment for things to try to get the NIX_PATH working