-
Notifications
You must be signed in to change notification settings - Fork 60
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 15 has group id 301 occupied. might need changing #1001
Comments
This is the error context from the generated issue URL: Error
Metadata
|
The last few in /etc/passwd are these here
|
In the meantime, you may be able to get around this by passing $ curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install --nix-build-user-id-base 305 --nix-build-group-id 305 EDIT: Just saw the part about the group ID also colliding; updated the snippet for that. |
I suggest getting even higher base number as Apple may add more users and groups.
|
I seem to recall seeing some issues in the past about setting the Darwin IDs too high (i.e. outside of the 200-400 ID range), so I'm not sure that's a great idea. This comment on the |
I have posted my thoughts on what ID ranges would be good choices on the upstream issue: NixOS/nix#10892 (comment). Since this has to be coordinated throughout the entire macOS Nix ecosystem I hope we can discuss there and settle on something collectively soon. |
The new suggested range seems to be 450-499. |
Thanks for that! We just merged #1038, which should detect macOS 15 and move the UIDs up to 450+ by default. Hoping to put a release out within the next couple of days that includes this fix, but for now you should be able to get it with this:
I'm going to keep this issue open until the upstream installer fixes it on their end as well, in case they're able to come up with a better solution. (EDIT: Updated URL to v0.20.1, which is the first release that includes the macOS 15 fix) |
@cole-h - using either the main 0.20.1 release (which in theory has the updated code) or your commit still yields
Slap me with the clue-stick as required. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
@ratbag98 You could help out @abathur in NixOS/nix#11075; there’s a list of stuff he’d like to know from someone who updated to Sequoia and had their Nix break. |
I'll take a look, but I previously took the nuclear option and wiped my nix installation completely (using the manual instructions, since the installer obviously wasn't working). The machine I've put the beta on is just for testing etc., so if this continues to be an issue, I'll reinstall Sonoma, reinstall nix, then upgrade to Sequioia again and send @Abthur the information they require. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
I'm getting this issue on Sonoma 14.4. I have a Is there a way to explicitly set the start of the range when using the Determinate Installer (setting nvm, solved with adding the params mentioned above
|
A new daemon occupies
PrimaryGroupID
301. Thankfully can just reassign using--nix-build-group-id
--nix-build-user-id-base
flags but will be an issue.This breaks the installer and uninstaller.
(Edited by @cole-h to add the following)
Cross-linking issues about this same thing:
_nixbld{1,2,3,4}
with system users causingdarwin-rebuild
to fail LnL7/nix-darwin#970The text was updated successfully, but these errors were encountered: