WIP: treewide: Improve pure darwin cross#110914
Draft
Ericson2314 wants to merge 2 commits intoNixOS:stagingfrom
Draft
WIP: treewide: Improve pure darwin cross#110914Ericson2314 wants to merge 2 commits intoNixOS:stagingfrom
Ericson2314 wants to merge 2 commits intoNixOS:stagingfrom
Conversation
Member
|
What will this change enable? |
Member
Author
|
See #97047 |
dd2f9d0 to
557bce0
Compare
Member
Author
|
@matthewbauer OK I got as far as building libsystem. Do you know how the compiler-rt, libc++, and libc++abi part works? (To be fare, it works fine-ish to just reuse the same libsystem and just do cross for everything else, but I want to at least try doing everything "right" before giving up.) |
21 tasks
557bce0 to
f9298dd
Compare
1edcf5f to
9ba3632
Compare
10 tasks
Ericson2314
added a commit
to Ericson2314/nixpkgs
that referenced
this pull request
May 6, 2021
I am taking the non-invasive parts of NixOS#110914 to hopefully help out with NixOS#111988. In particular: - Use `lib.makeScopeWithSplicing` to make the `darwin` package set have a proper `callPackage`. - Adjust Darwin `stdenv`'s overlays keeping things from the previous stage to not stick around too much. - Expose `binutilsNoLibc` / `darwin.binutilsNoLibc` to hopefully get us closer to a unified LLVM and GCC bootstrap.
If things build fine with `stdenvNoCC`, let them use that. If tools might be prefixed, prepare for that.
9ba3632 to
08d1131
Compare
|
I marked this as stale due to inactivity. → More info |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation for this change
Some things are a little messier than they could be because I'm avoiding mass rebuilds. I'll go back and clean up after.Doing that right away.Things done
sandboxinnix.confon non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"./result/bin/)nix path-info -Sbefore and after)