-
-
Notifications
You must be signed in to change notification settings - Fork 13.8k
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
msi-ec-kmods: init at 0-unstable-2024-09-19 #343038
base: master
Are you sure you want to change the base?
Conversation
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.
There seems to be several issues with this PR.
- You will want to format new files with nixfmt-rfc-style. You might have noticed that the formatting PR is failing
- Editorconfig check is also failing, see if your editor integrates with it and try to conform to nixpkgs' editorconfig
- Please rebase this PR, a rogue PR has managed to sneak in your git history, you might want to drop it.
- Adding yourself to maintainers/maintainer-list.nix must be done in a separate commit. You will need to rebase again for this.
b61fc42
to
99a43f1
Compare
I have fixed most issues, I am not sure to understand the rogue PR part. |
Sorry, I meant a rogue commit*. Seems to be fixed though, so no worries. |
99a43f1
to
df60482
Compare
Should be all good now |
df60482
to
f56c1e7
Compare
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.
Derivation LGTM. As a last remark, you will want to update the commit message and the PR title to both show msi-ec-kmods: init at 0-unstable-2024-09-19
f56c1e7
to
77e7790
Compare
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.
Derivation LGTM
Result of 10 packages marked as broken and skipped:
2 packages failed to build:
8 packages built:
|
Should the 2 build failures be fixed before merging or not @NotAShelf ? |
Yes, the build fails on both mainline Linux and Linux-Libre. Neither of those are packages we can skip. |
77e7790
to
985c9a8
Compare
Here is the result after fix of 10 packages marked as broken and skipped: 10 packages built: |
985c9a8
to
516bd90
Compare
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
Any idea of when it can be merged ? |
516bd90
to
f706ca3
Compare
@tomodachi94 Should be all good |
f706ca3
to
5cda1c9
Compare
6fc5caa
to
a5fd31b
Compare
@tomodachi94 The requested changes cannot be resolved due to force-push, if it is good for you can you accept the changes ? 😅 |
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, thank you! The initial PR was really good for just your first contribution 🙂
Adds msi-ec-kmods kernel module for msi embedded controllers.
a5fd31b
to
50e1733
Compare
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.
Something small that I missed in the original review
meta = { | ||
description = "Kernel modules for MSI Embedded controller"; | ||
homepage = "https://github.com/BeardOverflow/msi-ec"; | ||
license = lib.licenses.gpl2; |
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.
license = lib.licenses.gpl2; | |
license = lib.licenses.gpl2Plus; |
See https://github.com/BeardOverflow/msi-ec/blob/main/msi-ec.c#L1. `lib.licenses.gpl2' is deprecated.
lib, | ||
fetchFromGitHub, | ||
linuxPackages, | ||
pkgs, |
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.
I could be wrong here, but can we not simply import git
instead of pkgs
and replace pkgs.git
-> git
later in the derivation?
Adds driver
msi-ec-kmods
Adds the driver for (msi embedded controller)[https://github.com/BeardOverflow/msi-ec].
Things done
Built on platform(s)
Tested compilation of all packages that depend on this change using
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usageTested basic functionality of driver
Fits CONTRIBUTING.md.
Add a 👍 reaction to pull requests you find important.