tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
linuxPackages.ddcci-driver: fix build with Linux >= 6.8
Enric Morales
2 years ago
a4d8c762
dc79d5b1
+11
-2
1 changed file
expand all
collapse all
unified
split
pkgs
os-specific
linux
ddcci
default.nix
+11
-2
pkgs/os-specific/linux/ddcci/default.nix
···
1
-
{ lib, stdenv, fetchFromGitLab, kernel }:
2
3
stdenv.mkDerivation rec {
4
pname = "ddcci-driver";
···
11
rev = "v${version}";
12
hash = "sha256-4pCfXJcteWwU6cK8OOSph4XlhKTk289QqLxsSWY7cac=";
13
};
0
0
0
0
0
0
0
0
0
14
15
hardeningDisable = [ "pic" ];
16
···
36
description = "Kernel module driver for DDC/CI monitors";
37
homepage = "https://gitlab.com/ddcci-driver-linux/ddcci-driver-linux";
38
license = licenses.gpl2Plus;
39
-
maintainers = with maintainers; [ ];
40
platforms = platforms.linux;
41
broken = kernel.kernelOlder "5.1";
42
};
···
1
+
{ lib, stdenv, fetchFromGitLab, kernel, fetchpatch }:
2
3
stdenv.mkDerivation rec {
4
pname = "ddcci-driver";
···
11
rev = "v${version}";
12
hash = "sha256-4pCfXJcteWwU6cK8OOSph4XlhKTk289QqLxsSWY7cac=";
13
};
14
+
15
+
patches = [
16
+
# See https://gitlab.com/ddcci-driver-linux/ddcci-driver-linux/-/merge_requests/15
17
+
(fetchpatch {
18
+
name = "fix-build-with-linux68.patch";
19
+
url = "https://gitlab.com/ddcci-driver-linux/ddcci-driver-linux/-/commit/3eb20df68a545d07b8501f13fa9d20e9c6f577ed.patch";
20
+
hash = "sha256-Y1ktYaJTd9DtT/mwDqtjt/YasW9cVm0wI43wsQhl7Bg=";
21
+
})
22
+
];
23
24
hardeningDisable = [ "pic" ];
25
···
45
description = "Kernel module driver for DDC/CI monitors";
46
homepage = "https://gitlab.com/ddcci-driver-linux/ddcci-driver-linux";
47
license = licenses.gpl2Plus;
48
+
maintainers = with maintainers; [ kiike ];
49
platforms = platforms.linux;
50
broken = kernel.kernelOlder "5.1";
51
};