Repository navigation
linuxPackages.openrazer: install modules through modules_install - #576293
Merged
Merged
Conversation
jeanbono
force-pushed
the
openrazer-modules-install
branch
from
October 20, 2026 08:46
b4a4037 to
97a696d
Compare
The driver copied its .ko files by hand, so no .ko.cer certificates were generated and aggregateModules failed. The upstream Makefile has no Kbuild install target, so run modules_install on the kernel build directory. Assisted-by: Claude Code (Claude Opus 5.5)
jeanbono
force-pushed
the
openrazer-modules-install
branch
from
October 20, 2026 08:50
97a696d to
0923331
Compare
Contributor
Author
|
SuperSandro2000
approved these changes
Oct 20, 2026
SuperSandro2000
left a comment
Member
There was a problem hiding this comment.
works for me and compared to other kernel modules it looks very similar to them
yzhou216
approved these changes
Oct 20, 2026
Curious-r
approved these changes
Oct 20, 2026
3 of 13 tasks
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The driver copied its
.kofiles by hand, so no single-module certificates (.ko.cer) were generated, andaggregateModulesnow fails when it merges the certificates of external modules:The upstream Makefile has no Kbuild install target, so this runs
modules_installon the kernel build directory, as suggested in #575192 and done in #575724. The modules keep theirkernel/drivers/hidlocation and, like in-tree modules, are stripped (INSTALL_MOD_STRIP=1, as in #575724) and compressed.Part of #575192.
Tested by building
linuxPackages.openrazer(6.18.57) andlinuxPackages_zen.openrazer(7.2.11): each module now ships a.ko.cer, andaggregateModulessucceeds with both kernels. The same change, applied as an override on a desktop withhardware.openrazer.enable(the loaded.ko.xzfiles are byte-identical to this PR's build), loads all fourrazer*modules and runsopenrazer-daemon, and Polychromatic can still change the lighting of two Razer devices.This change was investigated, written and tested with Claude Code (Claude Opus 5.5), and the commit carries an
Assisted-by:trailer.Things done
./result/bin/.nixpkgs-reviewon this PR. See nixpkgs-review usage.passthru.tests.