diff options
author | Alexandre Iooss <erdnaxe@crans.org> | 2023-05-21 14:02:51 +0200 |
---|---|---|
committer | Alexandre Iooss <erdnaxe@crans.org> | 2023-05-21 14:02:51 +0200 |
commit | 3b02b2c851815ed5545ba020b88f1570074c548a (patch) | |
tree | dc5c0114a2b9d10cd6972a8c592844319c7fb680 /pkgs/os-specific/linux/ddcci | |
parent | 58bd7810d72bd8e1056a8959d99bfeeb2092676f (diff) |
ddcci-driver: fix kernel 6.2 and 6.3 compatibility
Diffstat (limited to 'pkgs/os-specific/linux/ddcci')
-rw-r--r-- | pkgs/os-specific/linux/ddcci/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/ddcci/default.nix b/pkgs/os-specific/linux/ddcci/default.nix index 91e5dfcd4744c..f9a71fece7483 100644 --- a/pkgs/os-specific/linux/ddcci/default.nix +++ b/pkgs/os-specific/linux/ddcci/default.nix @@ -12,6 +12,15 @@ stdenv.mkDerivation rec { hash = "sha256-1Z6V/AorD4aslLKaaCZpmkD2OiQnmpu3iroOPlNPtLE="; }; + patches = [ + # https://gitlab.com/ddcci-driver-linux/ddcci-driver-linux/-/merge_requests/12 + (fetchpatch { + name = "kernel-6.2-6.3.patch"; + url = "https://gitlab.com/ddcci-driver-linux/ddcci-driver-linux/-/commit/1ef6079679acc455f75057dd7097b5b494a241dc.patch"; + hash = "sha256-2C2leS20egGY3J2tq96gsUQXYw13wBJ3ZWrdIXxmEYs="; + }) + ]; + hardeningDisable = [ "pic" ]; nativeBuildInputs = kernel.moduleBuildDependencies; |