-
-
Notifications
You must be signed in to change notification settings - Fork 13
Switch to kernel.stdenv.mkDerivation for package #61
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
base: master
Are you sure you want to change the base?
Conversation
|
Please turn this into a single commit. Also, if there's a better way (like DEFAULTING to the kernel's stdenv but allowing modifications), let me know. |
|
Looks good to me, thought I like how there are more commits than lines changed 😄. I can't test this PR, so I'll need to wait for someone with Nix to make sure these changes are fine. |
|
@AndyFilter i use the commit and it works for cachyos (llvm) |
|
Hey, @kitten. Sorry to disturb You, but could You please take a look at this PR and make sure it runs properly when You have a moment.
Please understand @umbrageodotus, I have nothing against You, or Your code. I simply want to double check everything to make sure it works before merging. I do the same for my own PRs, I wouldn't merge my own PR without someone checking it (for the most part) (I don't trust myself that much, haha). |
|
Yep, don't worry! |
|
Sorry, been a little too busy and haven't used my NixOS system in a while. I can try to test this out but wanted to note that in #66 I let a comment for
|
|
Why common make flags? I overwrote kernel make flags too, though. It's always the ones provided by the kernel. |
|
I'll probably have time this week to look at it now that I've updated my NixOS machine, which I wasn't running for a hot minute. It doesn't likely matter too much how the make flags are sourced, although the "base" flags by convention are on the What matters is that the custom flags set in the derivation are defaulted to the latest kernel's flags, not the custom kernel we're building the module for. Hence, if it's not using GCC that just won't work. That's mostly just how I wrote that argument default, since I was assuming the latest kernel's make flags would always work |
|
No, I believe I overwrote them on a PR I made on another account. I'll show it asap. |
1 similar comment
|
No, I believe I overwrote them on a PR I made on another account. I'll show it asap. |
Allows for LLVM-specific kernel module arguments to be used if the kernel uses LLVM.