Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
michaeljennings122 opened this issue Jan 8, 2025 · 1 comment
Labels
MacOS Darwin/MacOS

Comments

@michaeljennings122
Copy link

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 '94D6F144-2477-406F-81CE-46A4B3B5D227' -w | /usr/sbin/diskutil apfs unlockVolume '94D6F144-2477-406F-81CE-46A4B3B5D227' -mountpoint '/nix' -stdinpassphrase"] }`

Metadata

key value
version 0.32.2
os macos
arch aarch64
@cole-h
Copy link
Member

cole-h commented Jan 9, 2025

I think we should probably just replace the plist unconditionally instead of comparing contents. It doesn't really get us all that much benefit, and it causes issues like this.

However, in the meantime, you should be able to delete that file and the install should proceed as normal.

@cole-h cole-h added the MacOS Darwin/MacOS label Jan 9, 2025
@cole-h cole-h changed the title <autogenerated-issue> /Library/LaunchDaemons/org.nixos.darwin-store.plist` contents differs Jan 9, 2025
@cole-h cole-h changed the title /Library/LaunchDaemons/org.nixos.darwin-store.plist` contents differs /Library/LaunchDaemons/org.nixos.darwin-store.plist contents differs Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MacOS Darwin/MacOS
Projects
None yet
Development

No branches or pull requests

2 participants