Trying to decide on whether to use Nix on my new Macbook… the idea of Nix always appeals to me, but I always get lost in all the decisions I need to make when setting it up. Do I wait for another release cycle and just go with Brew for now? 🤔
Conversation
If you haven't already seen it, do check out nix.dev ; there has been a bunch of documentation effort recently. (I'm not using Nix, but I was also looking into it.)
1
1
Any reason why you decided not to use it?
1
Additionally: how do you work with your environment configuration instead?
1
It's that I haven't had the time to sit down and read the docs. I usually end up using whatever makes sense based on the language I'm using and whether it is project-specific or global: could be brew/apt, nvm, rustup, stack, opam or something else.
2
1
Replying to
Yeah, that's something I've been confused by – how does Nix interact with my general dev of cargo stuff (and possibly opam and cabal stuff in the future).
Replying to
My (limited, potentially incorrect) understanding so far is that it doesn't. It is a transitively closed system, which is why it gives you the ability to switch things at whim without having to worry about things like "uh, what toolchain do I need to build this with".
1
Yeah I think that was my understanding too. Like, I could just use rustup/cargo/cabal etc. But I could also choose to let Nix manage it if that's what I prefer?
1
Show replies

