- cross-posted to:
- [email protected]
- cross-posted to:
- [email protected]
Some folks on the internet were interested in how I had managed to ditch Docker for local development. This is a slightly overdue write up on how I typically do things now with Nix, Overmind and Just.
You’re advocating switching to another OS with a complex package manager, to avoid using a package manager that’s basically a whole new OS. Giant Tower of Shit may be too generous for that.
But I was of course correct, I said you wouldn’t believe it.
nix does not need nixOS to run but is a complex package manager. At least for me, it doesn’t seem more complex than docker ecosystem.
I personally use nix to take care of downloading compatible dependencies in isolation for me. And the rest of the code is really, just basic script shell or Makefile too.
I also could add a fancy
mergeShells
function I have written in nix to support a docker-compose-like composition ofnix-shell
files. But you could go a very long way with nix before you even want to do something like this.Tutorial != advocation. As I said, no attempt to engage in good faith.