treewide: mark rest of version-dependent kernel module broken

Tested linuxPackages_4_9 through to 5_9
This commit is contained in:
Atemu
2020-10-31 16:54:29 +01:00
committed by Jonathan Ringer
parent 07946a1206
commit 4e5e46061e
11 changed files with 16 additions and 2 deletions

View File

@@ -162,5 +162,6 @@ in stdenv.mkDerivation rec {
license = "GPL";
maintainers = [ lib.maintainers.sander ];
platforms = lib.platforms.linux;
broken = with kernel; kernelAtLeast "5.9";
};
}

View File

@@ -179,5 +179,6 @@ in stdenv.mkDerivation rec {
maintainers = with maintainers; [ corngood ];
# Copied from the nvidia default.nix to prevent a store collision.
priority = 4;
broken = true;
};
}

View File

@@ -135,6 +135,7 @@ stdenv.mkDerivation rec {
hydraPlatforms = [];
# Copied from the nvidia default.nix to prevent a store collision.
priority = 4;
broken = builtins.match "4\.9\..*" kernel.version != [ ]; # every version but 4.9.x
};
}

View File

@@ -63,5 +63,6 @@ stdenv.mkDerivation {
license = stdenv.lib.licenses.unfreeRedistributable;
maintainers = with stdenv.lib.maintainers; [ phreedom ];
platforms = stdenv.lib.platforms.linux;
broken = with kernel; kernelAtLeast "5.9";
};
}

View File

@@ -71,5 +71,6 @@ in stdenv.mkDerivation rec {
license = with licenses; [ lgpl21 gpl2 bsd2 ];
platforms = platforms.linux;
maintainers = with maintainers; [ domenkozar magenbluten orivej ];
broken = if kernel == null then false else kernel.kernelAtLeast "5.9";
};
}

View File

@@ -33,6 +33,6 @@ stdenv.mkDerivation rec {
platforms = platforms.linux;
license = with licenses; [ lgpl21 gpl2 ];
homepage = "https://www.displaylink.com/";
broken = versionOlder kernel.version "5" || stdenv.isAarch64;
broken = with kernel; kernelOlder "5" || kernelAtLeast "5.9" || stdenv.isAarch64;
};
}

View File

@@ -63,5 +63,6 @@ stdenv.mkDerivation rec {
license = licenses.unfreeRedistributable;
maintainers = with maintainers; [ MP2E ];
platforms = platforms.linux;
broken = with kernel; kernelAtLeast "5.8";
};
}

View File

@@ -26,6 +26,7 @@ rec {
sha256_64bit = "1a6va0gvbzpkyza693v2ml1is4xbv8wxasqk0zd5y7rxin94c1ms";
settingsSha256 = "0mkgs91gx7xb7f24xkq9fl7i8d4l7s0wr9a44b1gm1vkw82fm7lj";
persistencedSha256 = "02id8cg8fba7c1j4m6vj4gp2mv39lz2k557kdjw8lszcpw6f1fhh";
broken = with kernel; kernelAtLeast "5.9";
}
else legacy_390;
@@ -39,6 +40,8 @@ rec {
sha256_64bit = "0rnnb5l4i8s76vlg6yvlrxhm2x9wdqw7k5hgf4fyaa3cr3k1kysz";
settingsSha256 = "0ad6hwl56nvbdv9g85lw7ywadqvc2gaq9x6d2vjcia9kg4vrmfqx";
persistencedSha256 = "15jciyq6i3pz1g67xzqlwmc62v3xswzhjcqmfcdndvlvhcibsimr";
broken = with kernel; kernelAtLeast "5.8";
};
legacy_340 = generic {
@@ -50,6 +53,8 @@ rec {
useGLVND = false;
patches = [ ./vm_operations_struct-fault.patch ];
broken = with kernel; kernelAtLeast "5.8";
};
legacy_304 = generic {
@@ -77,6 +82,6 @@ rec {
'';
in applyPatches [ "fix-typos" ];
patches = maybePatch_drm_legacy;
broken = stdenv.lib.versionAtLeast kernel.version "4.18";
broken = true; # All mirrors 404
};
}

View File

@@ -164,5 +164,6 @@ stdenv.mkDerivation rec {
# I was making this package blindly and requesting testing from the real user,
# so I can't even test it by myself and won't provide future updates.
maintainers = with maintainers; [ abbradar ];
broken = with kernel; kernelOlder "4.19";
};
}

View File

@@ -18,5 +18,6 @@ stdenv.mkDerivation {
meta = virtualbox.meta // {
description = virtualbox.meta.description + " (kernel modules)";
broken = with kernel; kernelAtLeast "5.9";
};
}

View File

@@ -185,6 +185,7 @@ let
license = licenses.cddl;
platforms = platforms.linux;
maintainers = with maintainers; [ jcumming wizeman fpletz globin ];
broken = if kernel == null then false else kernel.kernelAtLeast "5.9";
};
};
in {