4 ms·
> I don't even know how to specifically update my `nix` I just clean reinstalled when I went from v2 to v3. Thats the great thing about nix... the rebuilt syst
by JamesSwift 4y ago
> I don't even know how to specifically update my `nix`
I just clean reinstalled when I went from v2 to v3. Thats the great thing about nix... the rebuilt system is still the same after I installed : )
Note that in nix v3, updating nix is a simple `sudo nix upgrade-nix`, which is really nice.
- unshavedyak 4y agoIs that with flakes though? That's my thing, i'm using flakes, and it's difficult to know what is with flakes or without. Updating my root `nixpkgs` did seem to update my `nix` CLI, but that felt a bit heavy handed. I had a difficult time finding out how to override just the Nix CLI version.
- JamesSwift 4y agoFlakes and 'nix command' are actually 2 separate, experimental features. I think the new nix command has some dependence on flakes, but I'm not sure what. I use flakes though, so you should be good as well. I think it would only potentially be an issue for non-flakes? I really, really, really wish they would rip the band-aid off and just have everything assume flakes with an easy opt-out. Let all the newcomers reap the benefits of a massively simplified model.