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