nix-installer icon indicating copy to clipboard operation
nix-installer copied to clipboard

Error running Recommend Install for Apple Silicon Chips

Open BBBmau opened this issue 1 year ago • 3 comments

This occurs when running curl -L https://raw.githubusercontent.com/NixOS/experimental-nix-installer/main/nix-installer.sh | sh -s install

Error

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.14.0
os macos
arch aarch64

BBBmau avatar Mar 23 '24 20:03 BBBmau

What terminal emulator did you run the installer in?

winterqt avatar Apr 01 '24 20:04 winterqt

@winterqt iTerm

BBBmau avatar Apr 02 '24 18:04 BBBmau

Try deleting the Nix Store volume in Disk Utility, rebooting, and running the installer from Apple's Terminal.

It should work then.

winterqt avatar Apr 02 '24 18:04 winterqt