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
1
-
{ lib, stdenv, fetchFromGitLab, kernel }:
1
1
+
{ lib, stdenv, fetchFromGitLab, kernel, fetchpatch }:
2
2
3
3
stdenv.mkDerivation rec {
4
4
pname = "ddcci-driver";
···
11
11
rev = "v${version}";
12
12
hash = "sha256-4pCfXJcteWwU6cK8OOSph4XlhKTk289QqLxsSWY7cac=";
13
13
};
14
14
+
15
15
+
patches = [
16
16
+
# See https://gitlab.com/ddcci-driver-linux/ddcci-driver-linux/-/merge_requests/15
17
17
+
(fetchpatch {
18
18
+
name = "fix-build-with-linux68.patch";
19
19
+
url = "https://gitlab.com/ddcci-driver-linux/ddcci-driver-linux/-/commit/3eb20df68a545d07b8501f13fa9d20e9c6f577ed.patch";
20
20
+
hash = "sha256-Y1ktYaJTd9DtT/mwDqtjt/YasW9cVm0wI43wsQhl7Bg=";
21
21
+
})
22
22
+
];
14
23
15
24
hardeningDisable = [ "pic" ];
16
25
···
36
45
description = "Kernel module driver for DDC/CI monitors";
37
46
homepage = "https://gitlab.com/ddcci-driver-linux/ddcci-driver-linux";
38
47
license = licenses.gpl2Plus;
39
39
-
maintainers = with maintainers; [ ];
48
48
+
maintainers = with maintainers; [ kiike ];
40
49
platforms = platforms.linux;
41
50
broken = kernel.kernelOlder "5.1";
42
51
};