The parent talks about an interrupted update process.
Interrupted updates don't do that. In single-user mode you could maybe ctrl-c it during the final activation phase, but that's a small fraction of a second -- it's just replacing a few symlinks.
In the default multi-user mode, you can't even do that.
Yes. This is like a major benefit of nix(os), updates and everything is basically atomic. If you interrupt an update you will just have a few more downloaded folders in your nix store folder, which are trivially GC-d on the next run. This is unlike pretty much anything else.
Re:Nix-Powered Development with OCaml
by shepardrtc on Monday March 06, 2023 @10:10PM
(#35051066)
I'll take a look, thank you.
There is a new Nix installer from Determinate Systems, a company heavily invested in Nix, which should make installing Nix more atomic, reversible, and thus easier:
The Determinate Nix Installer https://news.ycombinator.com/item?id=34957953
And after getting pass the installation, Nix is great for production.