Skip to content
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

User/Group exists with different uid/gid #1369

Open
gafoors opened this issue Jan 2, 2025 · 1 comment
Open

User/Group exists with different uid/gid #1369

gafoors opened this issue Jan 2, 2025 · 1 comment
Labels
MacOS Darwin/MacOS

Comments

@gafoors
Copy link

gafoors commented Jan 2, 2025

Error

Error: 
   0: Planner error
   1: Error executing action
   2: Action `create_group` errored
   3: Group `nixbld` existed but had a different gid (30000) than planned (350)
Error:
   0: Planner error
   1: Error executing action
   2: Action `create_users_and_group` errored
   3: Action `create_user` errored
   4: User `_nixbld5` existed but had a different uid (305) than planned (355)

Location:
src/cli/subcommand/install.rs:203

Metadata

key value
version 0.32.2
os macos
arch aarch64
@gafoors gafoors changed the title Group exists with different gid User/Group exists with different uid/gid Jan 2, 2025
@cole-h
Copy link
Member

cole-h commented Jan 9, 2025

It seems like you installed Nix with the upstream installer, so you may want to follow their instructions for uninstalling first: https://nix.dev/manual/nix/stable/installation/uninstall.html#macos

Otherwise, there are some arguments you can specify that will allow you to override the nix build group ID and nix build user ID base, that you can discover in the --help output.

@cole-h cole-h added the MacOS Darwin/MacOS label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MacOS Darwin/MacOS
Projects
None yet
Development

No branches or pull requests

2 participants