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
Fix build of linuxPackages.perf #34017
Conversation
NixOS#34013 This reverts commit 92083c3.
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.
/cc #33813 @lopsided98 @bgamari
This looks OK, but maybe else "CROSS_COMPILE
was meant to be replaced by else makeFlags
.
I'm trying to figure out why using the kernel I wanted to inherit the |
Strangely enough, this appears to be a kernel bug that is triggered when the We can either apply the patch or exclude the |
Hmm, author of the patch seems to think it's a mistake: https://patchwork.kernel.org/patch/9676649/ Not so much setting So... maybe only set |
I did some more digging, and it appears that it is probably caused by a different kernel bug, which was introduced in 4.8 and fixed in 4.12. |
Here is a version of the patch backported to 4.9, which fixes the issue for me. |
@lopsided98 You patch looks good. Feel free to reapply 92083c3 together with the fix for Linux 4.9. |
It should build, but it doesn't.
#34013
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)