Hacker News new | ask | show | jobs
by norman784 1531 days ago
I just tried but is really a pain in macOS right now, all went smooth until I got an error while trying to install the bundler gem, I skimmed quickly GitHub and seems to be an issue of macOS and the root dir being read-only, I suppose is too much hassle to worth it, at least if you compare with docker.

As others pointed, the idea behind nix is cool, but it sometimes fall short, hope it get ironed all the issues in macOS so I could give a try in the future.

2 comments

Same, tried Nix on my macOS (MBA M1) back in January. The installation is painless but it ran into an issue in the first run after it. It looks like that I skipped a step somewhere, I was following the guide and it should be working but its not. I suspected it was the guide that someone forgot to include it in the documentation or edge case I experienced. Now the uninstalling part is painful because there bare minimum documentation about this. Tried all different way to remove it and I couldn't. Took me a month to finally remove Nix from my macOS, I found the information through SO.
I had the same exact same experience. If the uninstallation wasn't such a pain in the ass I might even give nix another try in the future.
Were you trying to install the Bundler gem as root? If that is the case, I'd recommend against it even without Nix. In any case you can find Bundler in Nixpkgs instead:

    nix-shell -p bundler