-
Notifications
You must be signed in to change notification settings - Fork 125
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
./#build-switch fails to run after upgrading to macOS Sequoia - error: the user '_nixbld1' in the group 'nixbld' does not exist #115
Comments
I ran into the same issue when upgrading. To get around it, I ran a bunch of commands trying to rebuild and assign the
and then
|
I also ran these before the command above to set up the build user again. I found these in another thread, so I'm honestly not too privy to what's going on here.
|
I also had to add this option before it would run: 8476716 And now I'm seeing some warnings when I run
|
Definitely the upgrade to macOS Sequoia was no fun. I couldn't find much info on the error but stumbled around based on what I could find. I generally don't recommend running random commands from the Internet 😆 But I needed to get Nix back online and was willing to erase my disk and start over (Nix makes this easy) if needed. Thankfully it went okay. I currently don't know much about how Nix manages the build users. I'll need to spend more time looking into the warnings, or post somewhere else. Any information anyone else finds would be helpful. |
when you get a chance could you document your process for upgrading to sequoia? been holding off in fear that it would be messy, have ptsd from previous MacOS upgrades |
Is there some way of uninstalling Nix, and reinstalling Nix (via the Determinate Systems installer, and reapplying my Nix config) without wiping macOS? (This is a work machine, and it's a pain to have to set that stuff up again - so if I could just get rid of the Nix installed stuff - including the Homebrew casks - then reinstall it - that would be great. This would also help in the future, if I do manage to catastrophically break things.) That being said - Determinate Systems does seem to mention a workaround to this build users being broken issue here: https://determinate.systems/posts/nix-support-for-macos-sequoia/ Apparently you're meant to run the command they give there before you upgrade to macOS Sequoia....lol. |
I just tried to run this on my machine, and got this:
|
Just did the first bit and that seemed enough. Alas getting "Error: unknown or unsupported macOS version: :dunno" for slack and docker... Maybe I need to do brew update somehow? (Edit: |
I've just updated my Macbook to OSX 15.0 (Sequoia) - and now
nix run ./#build-switch
is failing with the following error:I did try adding the line from this commit:
8476716#diff-495e6e2f82e0c27bbf2e2a20fcc506fa7adcc184cc4981f20eb3d42a23e9e002R19
However, I still get the same error
The text was updated successfully, but these errors were encountered: