Repository navigation
linuxPackages.framework-laptop-kmod: install module through modules_install - #575818
Merged
Merged
Conversation
…nstall Installing the module by hand bypasses Kbuild's module installation flow, which since NixOS#571181 is what signs each module with kmodigest and installs its per-module certificate. The package therefore only produced `framework_laptop.ko`, and building `system.modulesTree` failed while concatenating the certificates of external modules: cat: extra/framework_laptop.ko.cer: No such file or directory Install via `modules_install` so the module is signed and its certificate is installed alongside it, matching the other kernel module packages fixed in this way. See NixOS#575192.
Contributor
Author
|
mjm
approved these changes
Oct 20, 2026
mjm
left a comment
Contributor
There was a problem hiding this comment.
LGTM, this fixes being able to use the module on latest nixos-unstable for me.
Contributor
Author
|
FWIW I installed and tested this on my framework laptop prior to putting up the PR |
stepbrobd
approved these changes
Oct 20, 2026
jordangarrison
added a commit
to jordangarrison/nix-config
that referenced
this pull request
Oct 20, 2026
The new kernel module aggregation requires a .ko.cer for each external module, and unstable's framework-laptop-kmod doesn't install one. Take master's fixed package (NixOS/nixpkgs#575818) until it reaches nixos-unstable-small.
3 of 13 tasks
reedriley
pushed a commit
to reedriley/nixpkgs
that referenced
this pull request
Oct 21, 2026
…nstall (NixOS#575818) (cherry picked from commit 82139be)
kubkon
added a commit
to kubkon/nix-linux-config
that referenced
this pull request
Oct 21, 2026
…ing (#3) nixpkgs now signs kernel modules with kmodigest and the modules aggregator requires a .ko.cer next to every .ko (NixOS/nixpkgs#575192). framework-laptop-kmod installs its .ko by hand and so fails the linux-7.3-modules build. Replicate the upstream fix (NixOS/nixpkgs#575818) via an override on boot.kernelPackages until it reaches nixos-unstable.
lanice
added a commit
to lanice/nixhome
that referenced
this pull request
Oct 21, 2026
nixpkgs dropped forgejo-runner from services.gitea-actions-runner: move boba to services.forgejo-runner, authenticating with the existing registration's uuid and runner token (the agenix secret now holds that token, not the registration token). The new module doesn't set DOCKER_HOST for podman and only owns the instance StateDirectory, so set DOCKER_HOST explicitly and move NIX_GCROOT_DIR under forgejo-runner/boba. Kernel module signing now needs a .ko.cer per external module; sign framework-laptop-kmod with kmodigest on longjing until NixOS/nixpkgs#575818 reaches nixos-unstable.
britter
added a commit
to britter/nix-configuration
that referenced
this pull request
Oct 22, 2026
The kernel modules of the framework-13 host failed to build because linuxPackages_latest.framework-laptop-kmod installs the bare module with `install` instead of `modules_install`. Kernel modules are signed with kmodigest, which produces a per-module certificate next to the module, and the NixOS module tree aggregator concatenates the certificates of external modules into `modules.cer`. The custom installPhase drops the certificate, so the build fails with `cat: extra/framework_laptop.ko.cer: No such file or directory`. Backport the upstream fix (NixOS/nixpkgs#575818), which installs through `modules_install` and ships the module together with its certificate. Additionally disable calibre speech support: calibre's test suite fails with `ModuleNotFoundError: No module named 'speechd'` because the speechd package in nixos-unstable never builds its Python bindings (its configure script cannot find a Python interpreter, which is only in buildInputs while speechd sets strictDeps). Fixing that would rebuild every consumer of speechd, so drop the speech-dispatcher TTS integration (and piper-tts) from calibre until the packaging bug is fixed upstream. Also disable audacity, which currently fails to build for unrelated reasons.
britter
added a commit
to britter/nix-configuration
that referenced
this pull request
Oct 22, 2026
* overlays: apply unmerged patch to python fabric The fabric package is required by azure-cli which is required by seeq-support.nix * nextcloud: repo adminpassFile It was dropped from nixpkgs in NixOS/nixpkgs#571775. * system-base: drop eMudhra fix It was merged into nixpkgs in NixOS/nixpkgs#576390. * framework-13: fix issues introduced by flake update Backport the upstream fix NixOS/nixpkgs#575818 * calibre: disable speech support the speechd package in nixos-unstable never builds its Python bindings * desktop-essentials: remove audacity because of build failures
foldu
added a commit
to foldu/nixos-config
that referenced
this pull request
Oct 23, 2026
framework-laptop-kmod installs its .ko by hand, which bypasses the modules_install step that signs modules with kmodigest and writes the per-module .ko.cer the modules aggregator merges. venus' modules tree therefore failed with `cat: extra/framework_laptop.ko.cer: No such file or directory`. Fixed upstream in NixOS/nixpkgs#575818, which is in nixos-unstable-small but landed six hours after nixos-unstable last advanced. Co-authored-by: DeepSeek-V4.1-Flash <[email protected]>
2 of 14 tasks
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.
Related to issue report #575192
I am using nixos-hardware
framework/13-inch/common/default.nixprofile, which fails with against fa60a5b which introduced recently via #571181 module signaturesThings done
Remove copying the kernel module and lets Kbuild install (and thus sign) it, so the .ko.cer that the module aggregator expects actually exists.
./result/bin/.nixpkgs-reviewon this PR. See nixpkgs-review usage.passthru.tests.