treewide: Get rid off crossAttrs, and makeStdenvCross#44068
Merged
Ericson2314 merged 8 commits intoNixOS:masterfrom Jul 25, 2018
Merged
treewide: Get rid off crossAttrs, and makeStdenvCross#44068Ericson2314 merged 8 commits intoNixOS:masterfrom
crossAttrs, and makeStdenvCross#44068Ericson2314 merged 8 commits intoNixOS:masterfrom
Conversation
More cleanup will come later
This means we don't need to hackily avoid overwriting `mkDerivation`.
Now that we don't hackily override `mkDerivation`, the TODO is solved and we just can!
It is inlined into the cross stdenv, which is its last use-case after the previous commit.
07b323c to
b81ee9d
Compare
|
Success on aarch64-linux (full log) Attempted: elfutils, flex, stdenv Partial log (click to expand)
|
|
Success on x86_64-linux (full log) Attempted: elfutils, flex, stdenv Partial log (click to expand)
|
Member
Author
|
N.B. this is a cross mass rebuild. |
|
Success on x86_64-darwin (full log) Attempted: flex, stdenv The following builds were skipped because they don't evaluate on x86_64-darwin: elfutils Partial log (click to expand)
|
9 tasks
Contributor
|
@Ericson2314 Cross compilation fails on this nix-build command on On NixOS 18.03 x86_64 system, this produces the following error message: Other platforms do not work as well. |
Member
Author
|
Sorry about that. Fixed in #44081 |
Contributor
|
edit: This is being tracked on #45993 @Ericson2314 still getting other errors for |
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
Fixes #33302.
makeStdenvCrossis no good because it is useless on its own (the stages aren't set up).Things done
sandboxinnix.confon non-NixOS)nix-shell -p nox --run "nox-review wip"./result/bin/)nix path-info -Sbefore and after)