DeterminateSystems / nix-installer

Install Nix and flakes with the fast and reliable Determinate Nix Installer, with over 2 million installs.
GNU Lesser General Public License v2.1
2.13k stars 52 forks source link

`/Library/LaunchDaemons/org.nixos.darwin-store.plist` contents differs #1231

Open hardikshah-vts opened 5 days ago

hardikshah-vts commented 5 days ago

Error

Error: 
   0: Planner error
   1: Error executing action
   2: Action `create_nix_volume` errored
   3: Action `create_volume_service` errored
   4: `/Library/LaunchDaemons/org.nixos.darwin-store.plist` contents differs, planned `LaunchctlMountPlist { run_at_load: true, label: "org.nixos.darwin-store", program_arguments: ["/bin/sh", "-c", "/usr/bin/security find-generic-password -s \"Nix Store\" -w |  /usr/sbin/diskutil apfs unlockVolume \"Nix Store\" -mountpoint \"/nix\" -stdinpassphrase"] }`, discovered `LaunchctlMountPlist { run_at_load: true, label: "org.nixos.darwin-store", program_arguments: ["/bin/sh", "-c", "/usr/bin/security find-generic-password -s 'BD93CB96-2AD7-437C-84A3-EBCB3C760D2F' -w | /usr/sbin/diskutil apfs unlockVolume 'BD93CB96-2AD7-437C-84A3-EBCB3C760D2F' -mountpoint '/nix' -stdinpassphrase"] }`

Metadata

key value
version 0.27.0
os macos
arch aarch64

This is on macOS Sequoia (v-15)

cole-h commented 5 days ago

It seems like you may have previously had Nix installed. If you remove the offending file, does it allow you to proceed further?

Additionally, if the real issue is that you previously had Nix installed but it's not working right now, you may just be able to use the repair tool instead (https://determinate.systems/posts/nix-support-for-macos-sequoia/).