5 ms·
> For example, if you Ctrl-C while its downloading an update, you get in a weird state where nothing works. … There is a new Nix installer from Determinate Sys
by one-punch 4y ago
> For example, if you Ctrl-C while its downloading an update, you get in a weird state where nothing works. …
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 https://news.ycombinator.com/item?id=34957953
And after getting pass the installation, Nix is great for production.
- lostmsu 4y agoThe parent talks about an interrupted update process.
- Filligree 4y agoInterrupted 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.
- deleted 4y ago[deleted]
- kaba0 4y agoYes. 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.
- shepardrtc 4y agoI'll take a look, thank you.