Hacker News new | ask | show | jobs
by nvarsj 1530 days ago
shell.nix + nix install is _the_ killer linux dev tool imo. It replaces all the various nonsense with a hermetic, fully reproducible build environment. You can then use the same shell.nix in your CI with the nix docker image. Now you have exactly identical dev environments across CI and locally. It's awesome once you've experienced it.

The biggest drawback is installing Nix on OS X is a huge pain. Docker has lots of magical UX tooling to make it rather seamless in comparison.

2 comments

Installing NixOS on modern macOS nowadays is super trivial. Copy+paste command from website, follow instructions, optionally enable flakes in a config file. That's it.
Oh really? Nice. I haven’t tried it myself but all my OS X colleagues complain about it.
> The biggest drawback is installing Nix on OS X is a huge pain

Did it on an aarch64 mac the other day. One command (two?), 15 minutes, done.