For instance, I recently discovered the structuredExtraConfig option for patching the kernel straight up does not work. This means you cannot unset any kernel options
From reading, I thought this option was for adding options, not removing them. Sure, you might be able to set options to “no”, but I don’t think this will override the defaults…
You’re supposed to be able to use lib.kernel.unset to unset them. In any case, that’s just one problem. The main issue is the entire option is ignored because of a typo in nixpkgs.
From reading, I thought this option was for adding options, not removing them. Sure, you might be able to set options to “no”, but I don’t think this will override the defaults…
You’re supposed to be able to use
lib.kernel.unset
to unset them. In any case, that’s just one problem. The main issue is the entire option is ignored because of a typo in nixpkgs.Would you mind opening a PR to fix that typo? Would be useful for others as well!
I’m planning to, I’m waiting for the kernel to finish building rn lol
EDIT: PR got merged BTW (https://github.com/NixOS/nixpkgs/pull/431115).
Thank you for your work!
I would not have liked encountering this bug in the wild.
lol
Haha, perfect 😄
I see, thanks