News for hackers. Stuff that matters.
Re:Nix-Powered Development with OCaml by lostmsu on Monday March 06, 2023 @09:48AM (#35041636)
The parent talks about an interrupted update process.
Re:Nix-Powered Development with OCaml by Filligree on Monday March 06, 2023 @10:15AM (#35041961)
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.

Re:Nix-Powered Development with OCaml by kaba0 on Monday March 06, 2023 @12:18PM (#35043718)
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.