-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[installer] It seems the build group nixbld already exists, but with the UID 30000. This script can't really handle that right now, so I'm going to give up. #11725
Comments
What does "broken" mean here? If you're running into errors that mention nixbld users when you run Nix commands, you may just need to run the migration procedure mentioned in the first post of the pinned issue: |
Broken in the sense that I expected the installer to automatically reuse or migrate existing nixbld users and the nixbld group.
I'm seeing this error at nix installation time. |
You said:
In what way was that install broken? |
Oh, apologies. I had a previous nix install that was broken after a macOS upgrade (I believe to 14?). I still had the /nix APFS volume but it wasn't being mounted for some mysterious reason. And I still had the nixbld group and its users. The exact state of the system may be hard to pin down but that's where I was at. |
That sounds like the issue/fix in this thread/comment: I don't feel like I have a precise enough sense of where the system's at right now to feel comfortable recommending any specific minor surgery, so as long as wiping the store volume isn't a nonstarter I'd recommend:
(If losing the Nix volume will be particularly painful, let's see how step 1 goes and re-evaluate.) |
Thanks @abathur ! I ended up fixing by deleting the nixbld group and all its users and then re-installing nix with the official multi-user installation. |
Install failure:
Can I just delete the nixbld group entirely and re-run the installer?
Platform
Additional information
I'm running macOS 15.0.1 (24A348) and have a pre-existing, broken nix install.
Output
Output
Priorities
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: