Recovering NixOS after running out of battery while running a rebuild
One of the main reasons my laptop/desktop run NixOS is the ability to roll back if an update goes bad. For years, I’ve had updates automated (primarily to keep my browser up to date; though I reocgnize there are better methods). I recently found my laptop dead, and upon plugging it in, I was unable to run a rebuild as it errored out for many packages with an error like this: ...disappeared, but it still has valid referrers ...