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
boot.kernelPackages: check for conflicts #58207
Conversation
bd31b10
to
c5a6b8e
Compare
This helped me catch yet another conflict when deploying VMs via nixops, thus I think it's useful. |
not sure who to ask review from. This saved me a few reboot with the wrong kernel already. |
c5a6b8e
to
2cd86e4
Compare
This does break ofborg's evaluation :/ |
hopefully that solved evaluation |
b970398
to
4d22e9f
Compare
It's currently possible to set conflicting `boot.kernelPackages` several times which can prove confusing. This is an attempt to warn for this.
4d22e9f
to
31c3a53
Compare
Looks like it's working here. |
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.
LGTM
A comment on BLCR: it is now very old and unsupported for modern linux kernels. I suggest to remove it from nixos and nixpkgs. I can do it in a subsequent PR.
yep BLCR seems like a good candidate for removal: |
It's currently possible to set conflicting
boot.kernelPackages
several timeswhich can prove confusing.
This is an attempt to warn for this.
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)