Skip to content

Commit

Permalink
linuxKernel.packages.linux_6_11.evdi: set broken for kernel >= 6.12 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Nov 22, 2024
2 parents c83af73 + 63e45ba commit 4c7a95c
Showing 1 changed file with 25 additions and 15 deletions.
40 changes: 25 additions & 15 deletions pkgs/os-specific/linux/evdi/default.nix
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
{ lib
, stdenv
, fetchFromGitHub
, kernel
, libdrm
, python3
{
lib,
stdenv,
fetchFromGitHub,
kernel,
libdrm,
python3,
}:

let
python3WithLibs = python3.withPackages (ps: with ps; [
pybind11
]);
python3WithLibs = python3.withPackages (
ps: with ps; [
pybind11
]
);
in
stdenv.mkDerivation (finalAttrs: {
pname = "evdi";
Expand Down Expand Up @@ -41,7 +44,11 @@ stdenv.mkDerivation (finalAttrs: {
"KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
];

hardeningDisable = [ "format" "pic" "fortify" ];
hardeningDisable = [
"format"
"pic"
"fortify"
];

installPhase = ''
runHook preInstall
Expand All @@ -52,13 +59,16 @@ stdenv.mkDerivation (finalAttrs: {

enableParallelBuilding = true;

meta = with lib; {
broken = kernel.kernelOlder "4.19";
meta = {
broken = kernel.kernelOlder "4.19" || kernel.kernelAtLeast "6.12";
changelog = "https://github.com/DisplayLink/evdi/releases/tag/v${finalAttrs.version}";
description = "Extensible Virtual Display Interface";
homepage = "https://www.displaylink.com/";
license = with licenses; [ lgpl21Only gpl2Only ];
maintainers = [ ];
platforms = platforms.linux;
license = with lib.licenses; [
lgpl21Only
gpl2Only
];
maintainers = with lib.maintainers; [ drupol ];
platforms = lib.platforms.linux;
};
})

0 comments on commit 4c7a95c

Please sign in to comment.