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
treewide: Get rid off crossAttrs
, and makeStdenvCross
#44068
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)
|
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)
|
@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. |
Sorry about that. Fixed in #44081 |
edit: This is being tracked on #45993 @Ericson2314 still getting other errors for
|
Motivation for this change
Fixes #33302.
makeStdenvCross
is no good because it is useless on its own (the stages aren't set up).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)