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
cmake: fix darwin bootstrapping #56291
Conversation
lzma is part of the stdenv but not during bootstrapping?
Nitpick idea: what about applying darwin-only patches only on darwin? That way we won't need to rebuild elsewhere when touching them (in future). |
I'm not a fan of conditional patches, but I could make this a darwin only change if we don't want to rebuild linux packages on staging-next right now. |
Well, it's perhaps no big deal, as it's darwin that's the significant bottleneck on our Hydra. If we had linux-specific patches that occasionally change and cause mass darwin rebuilds, that would be different. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't see what to wait for, even in case it weren't perfect.
My build isn't done yet, but no errors so far. |
Our bigmac will surely be better for this stuff, and it was idling now anyway. |
Motivation for this change
NOTE I only tested the bootstrap cmake at this point, but this might unblock staging-next.
Fixes #56244
/cc @FRidh @vcunat
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)