ddcci-driver: patch to support linux 6.1
This commit is contained in:
parent
0044cfa772
commit
47e314e92e
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchFromGitLab, kernel }:
|
{ lib, stdenv, fetchFromGitLab, kernel, fetchpatch }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ddcci-driver";
|
pname = "ddcci-driver";
|
||||||
|
@ -32,6 +32,14 @@ stdenv.mkDerivation rec {
|
||||||
"INCLUDEDIR=$(out)/include"
|
"INCLUDEDIR=$(out)/include"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# fix to support linux 6.1
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://gitlab.com/ddcci-driver-linux/ddcci-driver-linux/-/commit/ce52d6ac5e5ed7119a0028eed8823117a004766e.patch";
|
||||||
|
sha256 = "sha256-Tmf4oiMWLR5ma/3X0eoFuriK29HwDqy6dBT7WdqE3mI=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Kernel module driver for DDC/CI monitors";
|
description = "Kernel module driver for DDC/CI monitors";
|
||||||
homepage = "https://gitlab.com/ddcci-driver-linux/ddcci-driver-linux";
|
homepage = "https://gitlab.com/ddcci-driver-linux/ddcci-driver-linux";
|
||||||
|
|
Loading…
Reference in a new issue