Remix.run Logo
▲ cloudfudge 2 hours ago

> it is equally true that some part of your Nix installation can become corrupted

I think a [citation needed] is in order here. The number of times other package dbs have failed me and required reinstallation of packages that otherwise should be in a good state (countless)*, vs the number of times a nix installation has become corrupted (zero) tells me otherwise. I think the fact that the nix store is readonly and the packages are absolutely required to declare their dependencies in a strong way (as opposed to being able to accidentally rely on stuff that happens to be installed) is a huge part of this. When your entire system is symlinks into a set of readonly self-contained blobs, the only "corruption" is basically "your disk is broken."

* There's a reason apt has a "--fix-broken" option and when I type "rpm" into google the first autocomplete is "rpm database corruption".