nix
nix copied to clipboard
nixbld already exists, but with the UID 30000. This script can't really handle that right now, so I'm going to give up. You can export NIX_BUILD_GROUP_ID=30000 and re-run.
Platform
- [ ] Linux:
- [x] macOS
- [ ] WSL
Additional information
I try to run this command sh <(curl -L https://nixos.org/nix/install)
Output
Output
~~> Setting up the build group nixbld
---- oh no! --------------------------------------------------------------------
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.
You can export NIX_BUILD_GROUP_ID=30000 and re-run.
We'd love to help if you need it.
You can open an issue at
https://github.com/NixOS/nix/issues/new?labels=installer&template=installer.md
Or get in touch with the community: https://nixos.org/community
Priorities
Add :+1: to issues you find important.
Are you trying to reinstall to fix a specific problem? What macOS version are you running, and did you recently upgrade?
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 this issue:
- #10892
The solution to this issue is to simply run the command that is stated on the error message:
export NIX_BUILD_GROUP_ID=30000
for i in {1..32}; do sudo dscl . delete /Users/_nixbld$i; done
sudo dscl . delete /Groups/nixbld
then try again