Recovering from a failed installation on macOS
Run the uninstaller
If /nix/nix-installer
exists, run the built-in uninstaller:
sudo /nix/nix-installer uninstall
Typically, the Determinate Nix Installer’s uninstall phase is thorough and complete. In rare cases, further steps may be necessary.
Delete the “Nix Store” volume
Typically, the Determinate Nix Installer’s uninstall phase is thorough and complete. In rare cases, further steps may be necessary.
If the Nix Store volume exists, delete it.
- Open Disk Utility.
- Right-click Nix Store.
- Click Delete APFS Volume.
If the volume doesn’t exist, move on to the next step.
Delete secrets from Keychain
- Open “Keychain Access”
- Search for “Determinate”
- Delete the entry for “Determinate Nix Store encryption key” if it exists
- Delete the entry for “Determinate Nix” if it exists
If neither of these entries are in Keychain, move on to the next step.
Complete
Determinate should now be uninstalled. Try running the installer again:
curl --proto '=https' --tlsv1.2 -sSf -L \
https://install.determinate.systems/nix | sh -s -- install --determinate