DeterminateSystems / nix-installer

Install Nix and flakes with the fast and reliable Determinate Nix Installer, with over 7 million installs.
https://determinate.systems
GNU Lesser General Public License v2.1
2.19k stars 57 forks source link

Failed to install, cannot find org.nixos.darwin-store #1097

Closed ciniglio closed 1 month ago

ciniglio commented 2 months ago

Error

Error: 
   0: Install failure
   1: Error executing action
   2: Action `create_nix_volume` errored
   3: Action `kickstart_launchctl_service` errored
   4: Failed to execute command with status 113 `"launchctl" "kickstart" "-k" "system/org.nixos.darwin-store"`, stdout: 
      stderr: Could not find service "org.nixos.darwin-store" in domain for system

Metadata

key value
version 0.20.2
os macos
arch aarch64
cole-h commented 2 months ago

Did you have Nix installed at some point in the past? Could you see if /Library/LaunchDaemons/org.nixos.darwin-store.plist exists, and if it does, its contents? Could you also see if darwin-store appears in the output of sudo launchctl print-disabled system?

ciniglio commented 2 months ago

I did have it installed; I purged a bunch of things and got it working eventually. Unfortunately, I don't remember which exact thing I removed to make it past this error. Most of the other errors in the installer log were very helpful (e.g. remove things from fstab or disk utility or delete a user), but this error was not as clear on what I should remove.

Feel free to close. Thank you for responding.

cole-h commented 1 month ago

If you run into this again and can provide more information, I'd be glad to debug further! But for now I am going to close this. Thanks!