Repository navigation
linuxPackages.yt6801: build with kernelModuleMakeFlags - #577453
Merged
Merged
Conversation
Without the kernel module make flags, `modules_install` neither signs the module nor skips depmod. The output then lacks `yt6801.ko.cer` and contains a module index of its own, so the NixOS module tree fails to build. Assisted-by: Claude Code (Claude Opus 5.5)
Member
|
4 tasks done
Zebradil
added a commit
to Zebradil/znix
that referenced
this pull request
Oct 28, 2026
Without them its modules_install runs depmod and skips signing, so the output carries its own modules.* index, which collides with the kernel's in the aggregated module tree. Mirrors NixOS/nixpkgs#577453, not yet in nixos-unstable. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RgBSQTxWYK7zqk4aB3BjQf
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.
Without
kernelModuleMakeFlags, the package's ownmodules_installcall neither signs the module nor skips depmod. The output then lacksyt6801.ko.cerand contains a module index of its own (lib/modules/*/modules.*), so a NixOS system withboot.extraModulePackages = [ yt6801 ]fails to build its module tree:This fixes the yt6801 part of #575192 and #576406. nixos-hardware adds the module for the TUXEDO InfinityBook Pro 14 Gen9 and Gen10 and the Pro 15 Gen10, so those systems are definitely affected.
I tested the following on x86_64-linux:
linuxPackages.yt6801(6.18.58) andlinuxPackages_latest.yt6801(7.3) build, and each output containsyt6801.ko.xzandyt6801.ko.cerand nomodules.*files. Before the change, the 7.3 output had no.ko.cerand 10modules.*files.config.system.modulesTreeof a minimal NixOS configuration withlinuxPackages_latestandyt6801inboot.extraModulePackagesbuilds, and itsmodules.deplists the module.DEPMOD=true, which themasterbranch now includes inkernelModuleMakeFlags) loads the module, andeno1appears.I used Claude Code (Claude Opus 5.5) to find the cause, make the change, run the tests and draft this PR description (which I ended up using largely as-is, with minor wording changes). I reviewed and tested the change myself. The commit carries the
Assisted-by:trailer.Things done
./result/bin/.nixpkgs-reviewon this PR. See nixpkgs-review usage.passthru.tests.