-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
flex: fix for cross #34170
flex: fix for cross #34170
Conversation
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.
Thanks for moving these along!
buildInputs = [ bison ]; | ||
|
||
propagatedBuildInputs = [ m4 ]; | ||
nativePropagatedBuildInputs = [ m4 ]; |
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.
nativePropagatedBuildInputs
isn't a thing (it would be propagatedNativeBuildInputs
) but I don't think this needs to be changed at all.
|
||
nativeBuildInputs = [ buildPackages.stdenv.cc autoreconfHook help2man ]; |
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.
buildPackages.stdenv.cc
should be a depsBuildBuild
.
buildInputs = [ bison ]; | ||
|
||
propagatedBuildInputs = [ m4 ]; | ||
nativePropagatedBuildInputs = [ m4 ]; | ||
|
||
postConfigure = stdenv.lib.optionalString (stdenv.isDarwin || stdenv.isCygwin) '' | ||
sed -i Makefile -e 's/-no-undefined//;' | ||
''; | ||
|
||
crossAttrs = { |
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 wan't to get rid of crossAttrs
, so could you make all the inner attributes conditional "top-level" ones instead?
* top-level attributes, not crossAttrs * use depsBuildBuild
Feedback addressed, but need to rebuild-all-the-things to test it still builds properly. |
I unchecked the box for you |
Tested on aarch64. |
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)