-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 10.15.7 error: the build users group 'nixbld' has no members #4716
Comments
It looks like you have at least some artifacts of a previous or active Nix install? The installer isn't currently very good at handling lingering artifacts of previous installs, so that might be what's going on here. I don't recall seeing/hearing about a case like this and a quick skim of that part of the installer didn't give me any good guesses at how your system could end up in this state unless there are some other unknown factors at play here (the installer is normally able to cope with the nixbld users/group existing). I'll give advice under the assumption that this is just an incompletely-removed previous install (I imagine everything except the users/groups needed to be removed to get to the point where it failed). It may not be sound advice if that isn't true, in which case the condition of the install and how it got this way might have some bearing on how to get you back on the road. If you don't have a sense of what might've happened to the install, the output of these commands may make it clearer what's going on with the build users/group and whether there's a bug to address: dseditgroup -o checkmember -m "nixbld1" "nixbld"
dscl . read /Groups/nixbld
dscl . read /Users/nixbld1 If this is an incomplete removal, I think it's best to try for a complete removal and reinstall, rather than try to fix up the existing users/group. If the users/group were the only holdovers, you should be able to repeat your previous removal steps, plus removing the users/group. I think you can remove the group with |
I just encountered this same problem. The fix that worked for me was to delete the users and group as @abathur described. However, the commands he listed didn't work for me because my users were named
|
I marked this as stale due to inactivity. → More info |
I have this issue as well. None of the other solutions above or in the docs helped. Not sure what to do. I tried to completely uninstall after following the uninstallation guide for macOS and re-installed with the same error. I am on macOS Monterey 12.6.5 though. |
Which uninstallation procedure are you following? |
I'm using the macOS uninstallation procedure here: https://nixos.org/manual/nix/stable/installation/installing-binary.html#macos |
How old is the system? How long ago would you guess you first installed Nix on it? |
The instructions haven been pretty reliable for people AFAIK, but if it's been ~years, it's possible that you have an install predating the trouble documented in: Try running If you have users that don't have the underscore, you might just need to adapt that step of the uninstall instructions (i.e., remove the underscore in the |
I'm attempting to install Nix yet I get the following error:
error: the build users group 'nixbld' has no members
Steps To Reproduce
sh <(curl -L https://nixos.org/nix/install) --daemon --darwin-use-unencrypted-nix-store-volume
Output:
Any help would be appreciated!
The text was updated successfully, but these errors were encountered: