linuxKernel.packages.linux_6_11.evdi: set broken for kernel >= 6.12 (#357624)

This commit is contained in:
Sandro 2024-11-22 14:09:01 +01:00 committed by GitHub
commit 4c7a95cac9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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";
@ -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
@ -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;
};
})