Re:Nix-Powered Development with OCaml
by lostmsu on Monday March 06, 2023 @09:48AM
(#35041636)
The parent talks about an interrupted update process.
[ Parent
| on HN ]
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.