-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
macOS installation: Could not find service "org.nixos.darwin-store" in domain for system #9978
Comments
I think the previous error is the one we'll need to sort out, but I don't recall seeing it before:
Do you see the service definition in the file at Some other questions:
|
Ooh, good catch. The file is there but I get the same error:
I have not previously installed Nix on this system, and it's my own device with no MDM profiles. |
At least it's consistent. Can you open Does it do the same after a reboot? I do see other reports of this, though the wifi I'm on atm is sputtering and I'm having trouble assessing them well enough to see if any mention a fix: https://github.com/search?q=%22Bootstrap+failed%3A+5%3A+Input%2Foutput+error%22&type=issues |
I did try rebooting; should've mentioned that — same result unfortunately. I found the following in
|
Hmm. I think we'd be hoping for something under the Device section (where it'll have whatever the name of your device was). It can be a little spammy. There is at least one case where group enumeration might be related, but I don't recall it breaking like this: Is this a new device? If so, have you previously installed Nix on a previous macOS device, and did you use Migration Assistant to set the new one up? |
Aha! I found four entries in that section, though they weren't visible with the "Errors and Faults" filter enabled, so I almost missed it:
Hmm, this device isn't new, but I may well have used Migration Assistant to set it up. I honestly don't remember. I've experimented with Nix on macOS at least once before (though quite a long time ago), so the scenario you're envisioning is definitely plausible. |
I'm not sure that message isn't a red herring, but i guess we can pull on it. Is this a network volume, by any chance (or do you have one set up to mount)? I searched this error and most results are mentioning samba/smb. If so, maybe try unmounting them and see if the command still errors? For reference, here's the main report for the migration issue: Your error doesn't really match, but it is at least a possibility to keep in mind. That problem did cause group issues, but none of this "too many" stuff afaik. If you haven't already, it's probably also worth trying to follow the uninstall instructions and see if a reinstall from there works? https://nixos.org/manual/nix/stable/installation/uninstall.html#macos |
No network volumes involved — just an ordinary MacBook Pro. I did try following the uninstall instructions and trying again; of course, several of the commands are either no-ops or complain about missing files (since the install didn't finish), but I did follow each step. No dice though. |
No dice == same error? |
Yes, same error. |
Can you try to run: If so, I'd try to follow the uninstall instructions again, then bootout again for good measure, and then try reinstalling? |
|
This may be a little annoying to reformat, but if the file |
Hmm, so that did actually work just fine:
|
😅 May be obvious by now, but fair warning that I'm just kinda flailing around for clues at this point. Does One problem we've had in the past is people who had Nix installed and then disabled one of the services, and launchctl will preserve these even if you've uninstalled. AFAIR these normally produce a pretty clear error about the service being disabled, but I guess we don't know if these can ~survive a migration and how they'd look on the other side. If it indicates that the service is disabled, see if |
I really appreciate it! I'd be doing the same in your shoes, I just don't know Nix well enough to know what to look for. Playing with Nix on macOS in the past I can say pretty confidently that I wouldn't have manually disabled a service via
|
Drat :)
|
This actually worked! No output but it succeeded.
|
Interesting. Can you try repeating the enable command for If that also works, I'd try to follow the full uninstall directions again, and see if a fresh install finally works 🤞 |
|
So then first (relevant) step of the uninstall guide:
|
Hopefully those will prove to be okay, since you don't have any daemons to actually bootout/unload. If the rest of the uninstall went okay, I'd give the install a try. |
These steps in the uninstall guide were unhappy, everything else was fine (except for step 2, "stop and remove the Nix daemon services", as previously discussed). (Also I had to translate the |
Failures should be okay. Just trying to make sure dangling state's cleaned up before you try installing. |
...so reinstalling worked this time?! That's mildly unsettling, I don't think I did anything different relative to the first time I tried uninstalling and reinstalling. Regardless, thanks so much for helping me out here! |
Platform
Additional information
Installer failed on macOS 14.3.1 (23D60), running the recommended
sh <(curl -L https://nixos.org/nix/install)
.Output
Output
Priorities
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: