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

Nix not installing on macOS 15.0 #11562

Open
2 tasks
caldenmic opened this issue Sep 21, 2024 · 9 comments
Open
2 tasks

Nix not installing on macOS 15.0 #11562

caldenmic opened this issue Sep 21, 2024 · 9 comments
Labels
installer macos Nix on macOS, aka OS X, aka darwin

Comments

@caldenmic
Copy link

Platform

  • Linux:
  • [ x] macOS
  • WSL

Additional information

I was using this command to install nix:
curl -L https://nixos.org/nix/install | sh -s --

Output

Output

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 👍 to issues you find important.

@abathur
Copy link
Member

abathur commented Sep 21, 2024

It sounds like you've already got a Nix install (or at least remnants of one)--is there any particular reason you're trying to install it again?

@caldenmic
Copy link
Author

I was using devbox but when i run the command "devbox shell" it doesn't run because it can't find /nix

@abathur
Copy link
Member

abathur commented Sep 21, 2024

This sounds like the issue/fix in this thread/comment:

Can you see if that gets it working?

@roberth roberth added the macos Nix on macOS, aka OS X, aka darwin label Sep 23, 2024
@nusendra
Copy link

got this issues too

@rtuin
Copy link

rtuin commented Sep 27, 2024

This sounds like the issue/fix in this thread/comment:

Can you see if that gets it working?

Same issue here after upgrading to macOS 15.0. The two launch items sh are enabled (they were never disabled AFAIK).
I'm not sure how to fix this, but can provide diagnostic data to someone who is.

@nusendra
Copy link

This sounds like the issue/fix in this thread/comment:

Can you see if that gets it working?

Same issue here after upgrading to macOS 15.0. The two launch items sh are enabled (they were never disabled AFAIK). I'm not sure how to fix this, but can provide diagnostic data to someone who is.

I managed to reinstall nix again, with allowed my terminal to access full disk. https://nusendra.com/post/fix-nix-after-upgrade-to-sequoia

@rtuin
Copy link

rtuin commented Sep 27, 2024

Thanks for the write-up! I'm sure my installation is fixed once i figure out how to force unmount the drive

@rtuin
Copy link

rtuin commented Sep 27, 2024

What worked for me:

  • unmount and delete the Nix Store in Disk Utility (thanks @nusendra)
  • Delete nixbld group and users (with these commands)
  • Maybe: enable full disk access to my terminal application (iTerm). Although I don't think this helped.

This got me back up and running. No other steps were need.

@nusendra
Copy link

What worked for me:

  • unmount and delete the Nix Store in Disk Utility (thanks @nusendra)
  • Delete nixbld group and users (with these commands)
  • Maybe: enable full disk access to my terminal application (iTerm). Although I don't think this helped.

This got me back up and running. No other steps were need.

mine was just ran this command NIX_FIRST_BUILD_UID="3000" sh <(curl -L https://nixos.org/nix/install) (suggested by Nix error message).

Glad u got it working !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
installer macos Nix on macOS, aka OS X, aka darwin
Projects
None yet
Development

No branches or pull requests

5 participants