fix ddcci-driver (again)

This commit is contained in:
jacekpoz 2024-10-14 00:03:07 +02:00
parent c6f27baf16
commit fbe2242ced
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

@ -9,11 +9,17 @@
in { in {
boot = { boot = {
extraModulePackages = [ extraModulePackages = [
(config.boot.kernelPackages.ddcci-driver.overrideAttrs (o: { (config.boot.kernelPackages.ddcci-driver.overrideAttrs (_: {
patches = (o.patches or []) ++ [ src = pkgs.fetchFromGitLab {
owner = "ddcci-driver-linux";
repo = "ddcci-driver-linux";
rev = "0233e1ee5eddb4b8a706464f3097bad5620b65f4";
hash = "sha256-Osvojt8UE+cenOuMoSY+T+sODTAAKkvY/XmBa5bQX88=";
};
patches = [
(pkgs.fetchpatch { (pkgs.fetchpatch {
url = "https://gitlab.com/ddcci-driver-linux/ddcci-driver-linux/-/merge_requests/16.patch"; url = "https://gitlab.com/ddcci-driver-linux/ddcci-driver-linux/-/merge_requests/17.patch";
hash = "sha256-PapgP4cE2+d+YbNSEd6mQRvnumdiEfQpyR5f5Rs1YTs="; hash = "sha256-sTq03HtWQBd7Wy4o1XbdmMjXQE2dG+1jajx4HtwBHjM=";
}) })
]; ];
})) }))