Open the-sun-will-rise-tomorrow opened 2 months ago
I think install --force
should always recreate all files it would otherwise create on a blank system, and repair
should do all of the same things as install
except take the settings from the receipt. repair
could then also have a --force
flag that recreated all files with their correct pristine content.
I was testing the installer on a system that was shut down uncleanly during installation. Now, it is in a state where the installer is unable to either install or repair Nix.
/nix/nix-installer repair
exits without producing any output.Running the installer, I initially hit #1005; after working around that problem, the following error occurs.
Uninstalling then re-installing Nix allows it to proceed.
Perhaps the installer should always overwrite these files.
Error
Metadata