patch MR to ddcci driver that fixes build issue

sweat taste tierlist
This commit is contained in:
jacekpoz 2024-08-25 17:56:24 +02:00
parent d6265d0762
commit d0303fae05
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

@ -15,8 +15,17 @@ in {
};
boot = {
# extraModulePackages = with config.boot.kernelPackages; [ ddcci-driver ];
# kernelModules = [ "ddcci" ];
extraModulePackages = with config.boot.kernelPackages; [
(ddcci-driver.overrideAttrs (o: {
patches = (o.patches or []) ++ [
(pkgs.fetchpatch {
url = "https://gitlab.com/ddcci-driver-linux/ddcci-driver-linux/-/merge_requests/16.patch";
hash = "sha256-PapgP4cE2+d+YbNSEd6mQRvnumdiEfQpyR5f5Rs1YTs=";
})
];
}))
];
kernelModules = [ "ddcci" ];
};
nix.settings = {