nixos.system.boot.kernel: stronger constraints for kernelParam type#133625
nixos.system.boot.kernel: stronger constraints for kernelParam type#133625nrdxp merged 1 commit intoNixOS:masterfrom
Conversation
74bf6fb to
4cab2cd
Compare
|
It actually contains some breaking changes (e.g some of the old configs won't build), so I will need to update release notes. |
4cab2cd to
98034b5
Compare
7ee3129 to
e3f05e1
Compare
636eedf to
5126497
Compare
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
There was a problem hiding this comment.
wasn't me, look at the base commit)
i'm going to rebase that anyway if someone drops by and tells that "yeah, just fix the conflicts and good to go"
There was a problem hiding this comment.
@tomberek @SuperSandro2000 btw — should I rebase so you can merge, or I should wait further review?
There was a problem hiding this comment.
fixing merge conflicts is always good but I don't really can say something about the change
nrdxp
left a comment
There was a problem hiding this comment.
Seems to work as intended when evaluating a system from this branch of nixpkgs. Just rebase and you've got my approval to merge 👍
Checks whether all spaces are inside double quotes, thus ensuring that one string parses as no more than one kernel param. Co-authored-by: pennae <82953136+pennae@users.noreply.github.com>
21ae16c to
a868222
Compare
|
@nrdxp waaaait, docs not updated |
|
There is no demerge button unfortunately, but I'll gladly merge a doc PR 😅 |
#141818 ❤️ |
There is, you can revert the merge commit. |
Checks whether all spaces are inside double quotes, thus ensuring that one
string parses as no more than one kernel param.
Motivation for this change
Users often add spaces in expressions like "a = 12", and having them parsed as 3 separate params is not user friendly.
Things done
kernelParams type changed to a string match.
sandboxinnix.confon non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"./result/bin/)