linuxKernel.packages.linux_6_10.nvidia_x11_legacy340: compatible with kernel 6.10
This commit is contained in:
parent
eb0e6df0cd
commit
d7c59fc430
@ -1,4 +1,4 @@
|
||||
{ lib, callPackage, fetchFromGitHub, fetchurl, fetchpatch, stdenv, pkgsi686Linux }:
|
||||
{ lib, callPackage, fetchFromGitHub, fetchgit, fetchpatch, stdenv, pkgsi686Linux }:
|
||||
|
||||
let
|
||||
generic = args: let
|
||||
@ -128,14 +128,33 @@ rec {
|
||||
};
|
||||
|
||||
# Last one supporting x86
|
||||
legacy_390 = generic {
|
||||
legacy_390 = let
|
||||
# Source corresponding to https://aur.archlinux.org/packages/nvidia-390xx-dkms
|
||||
aurPatches = fetchgit {
|
||||
url = "https://aur.archlinux.org/nvidia-390xx-utils.git";
|
||||
rev = "ebb48c240ce329e89ad3b59e78c8c708f46f27b3";
|
||||
hash = "sha256-AGx3/EQ81awBMs6rrXTGWJmyq+UjBCPp6/9z1BQBB9E=";
|
||||
};
|
||||
patchset = [
|
||||
"kernel-4.16+-memory-encryption.patch"
|
||||
"kernel-6.2.patch"
|
||||
"kernel-6.3.patch"
|
||||
"kernel-6.4.patch"
|
||||
"kernel-6.5.patch"
|
||||
"kernel-6.6.patch"
|
||||
"kernel-6.8.patch"
|
||||
"gcc-14.patch"
|
||||
"kernel-6.10.patch"
|
||||
];
|
||||
in generic {
|
||||
version = "390.157";
|
||||
sha256_32bit = "sha256-VdZeCkU5qct5YgDF8Qgv4mP7CVHeqvlqnP/rioD3B5k=";
|
||||
sha256_64bit = "sha256-W+u8puj+1da52BBw+541HxjtxTSVJVPL3HHo/QubMoo=";
|
||||
settingsSha256 = "sha256-uJZO4ak/w/yeTQ9QdXJSiaURDLkevlI81de0q4PpFpw=";
|
||||
persistencedSha256 = "sha256-NuqUQbVt80gYTXgIcu0crAORfsj9BCRooyH3Gp1y1ns=";
|
||||
|
||||
broken = kernel.kernelAtLeast "6.2";
|
||||
patches = map (patch: "${aurPatches}/${patch}") patchset;
|
||||
broken = kernel.kernelAtLeast "6.11 ";
|
||||
|
||||
# fixes the bug described in https://bbs.archlinux.org/viewtopic.php?pid=2083439#p2083439
|
||||
# see https://bbs.archlinux.org/viewtopic.php?pid=2083651#p2083651
|
||||
|
Loading…
Reference in New Issue
Block a user