nix-installer
nix-installer copied to clipboard
Installer explodes with existing Nix store
I am reporting this because the installer suggested I do so. Please feel free to close without fixing.
Error
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
Error:
0: Planner error
1: Error executing action
2: Action `encrypt_apfs_volume` errored
3: The keychain lacks a password for the already existing "Nix Store" volume on disk `disk3`, consider removing the volume with `diskutil apfs deleteVolume "Nix Store"` (if you receive error -69888, you may need to run `sudo launchctl bootout system/org.nixos.darwin-store` and `sudo launchctl bootout system/org.nixos.nix-daemon` first)
Metadata
| key | value |
|---|---|
| version | 0.15.1 |
| os | macos |
| arch | aarch64 |
Desired outcome
An upgrade from the existing Nix installation to the Determinate version.
Was the problem resolved by following the suggestion of the error message?
I didn’t want to delete my existing Nix Store and rebuild everything. I have several gigabytes of reachable data in there.
Presumably related: #673
I'm seeing the same thing; I just updated to Sonoma, and was hoping to migrate to the DetSys Nix installer having originally used the official installer (whose changes to e.g. /etc/zshrc have been overwritten by the Sonoma update).
I can try following the suggested steps, though the message is not particularly clear about what the implications of doing that will be. I currently seem to have a functional Nix installation despite the update to Sonoma and would like to avoid breaking it if possible.