3 ms·
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
by nvarsj 5y 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.
- mixedCase 5y agoInstalling 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.
- nvarsj 5y agoOh really? Nice. I haven’t tried it myself but all my OS X colleagues complain about it.
- ris 5y ago> 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.