linuxPackages.nvidiaPackages.production: fix for linux 6.15
This commit is contained in:
@@ -53,6 +53,14 @@ let
|
||||
rev = "94dffc01e23a93c354a765ea7ac64484a3ef96c1";
|
||||
hash = "sha256-c94qXNZyMrSf7Dik7jvz2ECaGELqN7WEYNpnbUkzeeU=";
|
||||
};
|
||||
|
||||
# https://github.com/NVIDIA/open-gpu-kernel-modules/issues/840
|
||||
gpl_symbols_linux_615_patch = fetchpatch {
|
||||
url = "https://github.com/CachyOS/kernel-patches/raw/914aea4298e3744beddad09f3d2773d71839b182/6.15/misc/nvidia/0003-Workaround-nv_vm_flags_-calling-GPL-only-code.patch";
|
||||
hash = "sha256-YOTAvONchPPSVDP9eJ9236pAPtxYK5nAePNtm2dlvb4=";
|
||||
stripLen = 1;
|
||||
extraPrefix = "kernel/";
|
||||
};
|
||||
in
|
||||
rec {
|
||||
mkDriver = generic;
|
||||
@@ -70,6 +78,7 @@ rec {
|
||||
openSha256 = "sha256-2DpY3rgQjYFuPfTY4U/5TcrvNqsWWnsOSX0f2TfVgTs=";
|
||||
settingsSha256 = "sha256-5m6caud68Owy4WNqxlIQPXgEmbTe4kZV2vZyTWHWe+M=";
|
||||
persistencedSha256 = "sha256-OSo4Od7NmezRdGm7BLLzYseWABwNGdsomBCkOsNvOxA=";
|
||||
patches = [ gpl_symbols_linux_615_patch ];
|
||||
};
|
||||
|
||||
latest = selectHighestVersion production (generic {
|
||||
|
||||
Reference in New Issue
Block a user