-
-
Notifications
You must be signed in to change notification settings - Fork 17.8k
Open
Description
With e9b2edb, part of #402198, the CC variable in kernelModuleMakeFlags was forced to the unwrapped variant of the compiler.
This breaks usage of NIX_CFLAGS_COMPILE when using kernelModuleMakeFlags.
This may have weird consequences for more complicated builds that would include a C++ compiler, as CXX comes from the -wrapped compiler still (see #484933 for an example, though no weirdness was observed AFAICT).
I'm pretty sure replacing CC in that way is likely a breakage in our "contract" of how the compilers are used withing Nixpkgs. Though I don't truly know what the stance here would be.
cc @RossComputerGuy, author of the PR. cc @blitz, original author of the commit.
Metadata
Metadata
Assignees
Labels
No labels