Skip to content

Commit

Permalink
linuxKernel.packages.linux_6_12.evdi: add support for kernel >= 6.12 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol authored Nov 30, 2024
2 parents 73710fe + ffdc074 commit dfd6a4a
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions pkgs/os-specific/linux/evdi/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
kernel,
libdrm,
python3,
Expand All @@ -16,15 +17,22 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "evdi";
version = "1.14.7";
version = "1.14.7-unstable-2024-11-30";

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

patches = [
(fetchpatch {
url = "https://github.com/DisplayLink/evdi/commit/e41240cf62d7188643bc95e5d69e1c4cfa6ddb84.patch?full_index=1";
hash = "sha256-6V3QJZMAhXqfGLW2eWkIzJnOdBPvLLNVzg6DW1M3IaA=";
})
];

env.NIX_CFLAGS_COMPILE = toString [
"-Wno-error"
"-Wno-error=discarded-qualifiers" # for Linux 4.19 compatibility
Expand Down Expand Up @@ -60,7 +68,7 @@ stdenv.mkDerivation (finalAttrs: {
enableParallelBuilding = true;

meta = {
broken = kernel.kernelOlder "4.19" || kernel.kernelAtLeast "6.12";
broken = kernel.kernelOlder "4.19";
changelog = "https://github.com/DisplayLink/evdi/releases/tag/v${finalAttrs.version}";
description = "Extensible Virtual Display Interface";
homepage = "https://www.displaylink.com/";
Expand Down

0 comments on commit dfd6a4a

Please sign in to comment.