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
treewide: mark failing kernel modules broken #102209
Conversation
oops, asciidoc isn't meant to be there |
8ca3555
to
cb98da6
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.
Looks good
A little helper to help find more broken modules not marked as broken: { pkgs ? import <nixpkgs> { } }:
with builtins;
with pkgs.lib;
let
matches = regex: str: match regex str != null;
allLinuxPackages = filterAttrs (name: pkg:
matches "linuxPackages.*" name &&
!matches "linuxPackagesFor|linuxPackages_custom|linuxPackages_testing_hardened" name
) pkgs;
notBroken = lpkgs: filterAttrs (name: module: !(module.meta.broken or false)) lpkgs;
in
mapAttrs (name: pkg: notBroken pkg) allLinuxPackages Then run with something like:
|
7c0d366
to
9a21e0e
Compare
@Atemu a lot of these modules are also packages, so you need to check if kernel is null |
Tested linuxPackages_4_9 through to 5_9
9a21e0e
to
cd6ff5a
Compare
zfs and dpdk has to check whether or not kernel was passed |
Motivation for this change
part of #101863
follow-up to #101736
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)