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
darwin: Big Sur-compatible stdenv bootstrap #107013
darwin: Big Sur-compatible stdenv bootstrap #107013
Conversation
Fixes bootstrapping on macOS Big Sur.
The bootstrap tools are now aligned. This reverts commit c5b0f56.
bdcaee0
to
84daff4
Compare
The changes that broke the darwin stdenv on staging have been reverted, and I've now tested this as is on Catalina and Big Sur. This should be ready for review / good to go. |
Thank you @thefloweringash & @LnL7 using this branch I can finally run nix on a clean OSX Big Sur Install 🙏🏽 it's a Christmas miracle 🎄 I ran |
Looks good to me. Tested that everything works along with #107262. Merging now. |
Motivation for this change
Bootstrapping nixpkgs on Big Sur.
Darwin seems to be broken on staging, so the first commit is a quick workaround. It's included here for testing, but should be fixed properly and dropped from this PR.
Fixes #104580
Includes changes from https://gist.github.com/LnL7/a17a042dd21258b957279637bb6be627
Prequisites for merging:
upload and reference bootstrap tools via tarballs.nixos.org[HACK]
commitThings done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)