-
Notifications
You must be signed in to change notification settings - Fork 25
Add the kernels check subcommand
#158
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
Conversation
This subcommand checks a given kernel. Currently it applies the same ABI checks as `kernel-abi-check` in `kernel-builder`.
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
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.
Woow very cool feature !
| src = fetchPypi { | ||
| inherit version; | ||
| pname = "kernel_abi_check"; | ||
| hash = "sha256-goWC7SK79FVNEvkp3bISBwbOqdSrmobANtrWIve9/Ys="; | ||
| }; | ||
|
|
||
| cargoDeps = rustPlatform.fetchCargoVendor { | ||
| inherit pname version src sourceRoot; | ||
| hash = "sha256-+1jdbKsDKmG+bf0NEVYMv8t7Meuge1z2cgYfbdB9q8A="; | ||
| }; | ||
|
|
||
| sourceRoot = "kernel_abi_check-${version}/bindings/python"; | ||
|
|
||
| pyproject = true; | ||
|
|
||
| nativeBuildInputs = with rustPlatform; [ cargoSetupHook maturinBuildHook ]; | ||
| } |
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.
Does this mean we can't install kernels without installing kernel-abi-check ?
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.
It's an optional dependency in pyproject.toml. The Nix is for the project's devshell, where we always want to have the package available.
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.
perfect !
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
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
This subcommand checks a given kernel. Currently it applies the same ABI checks as
kernel-abi-checkinkernel-builder.