Skip to content

Commit dfd6a4a

Browse files
authored
linuxKernel.packages.linux_6_12.evdi: add support for kernel >= 6.12 (#360378)
2 parents 73710fe + ffdc074 commit dfd6a4a

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

pkgs/os-specific/linux/evdi/default.nix

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
lib,
33
stdenv,
44
fetchFromGitHub,
5+
fetchpatch,
56
kernel,
67
libdrm,
78
python3,
@@ -16,15 +17,22 @@ let
1617
in
1718
stdenv.mkDerivation (finalAttrs: {
1819
pname = "evdi";
19-
version = "1.14.7";
20+
version = "1.14.7-unstable-2024-11-30";
2021

2122
src = fetchFromGitHub {
2223
owner = "DisplayLink";
2324
repo = "evdi";
24-
rev = "refs/tags/v${finalAttrs.version}";
25-
hash = "sha256-z3GawjaokbmmUC1LihwGSnF3tUp9n/FO+kDiWvBq+mY=";
25+
rev = "59a3a864f7476cd61d9c65bfd012d1e9ed90e2b1";
26+
hash = "sha256-0xEh0Tb5QFReW5lXO/Mb3gn1z87+baR8Tix+dQjUZMw=";
2627
};
2728

29+
patches = [
30+
(fetchpatch {
31+
url = "https://github.com/DisplayLink/evdi/commit/e41240cf62d7188643bc95e5d69e1c4cfa6ddb84.patch?full_index=1";
32+
hash = "sha256-6V3QJZMAhXqfGLW2eWkIzJnOdBPvLLNVzg6DW1M3IaA=";
33+
})
34+
];
35+
2836
env.NIX_CFLAGS_COMPILE = toString [
2937
"-Wno-error"
3038
"-Wno-error=discarded-qualifiers" # for Linux 4.19 compatibility
@@ -60,7 +68,7 @@ stdenv.mkDerivation (finalAttrs: {
6068
enableParallelBuilding = true;
6169

6270
meta = {
63-
broken = kernel.kernelOlder "4.19" || kernel.kernelAtLeast "6.12";
71+
broken = kernel.kernelOlder "4.19";
6472
changelog = "https://github.com/DisplayLink/evdi/releases/tag/v${finalAttrs.version}";
6573
description = "Extensible Virtual Display Interface";
6674
homepage = "https://www.displaylink.com/";

0 commit comments

Comments
 (0)