File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed
pkgs/os-specific/linux/nvidia-x11 Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 22
22
url = "https://github.com/gentoo/gentoo/raw/c64caf53/x11-drivers/nvidia-drivers/files/nvidia-drivers-470.223.02-gpl-pfn_valid.patch" ;
23
23
hash = "sha256-eZiQQp2S/asE7MfGvfe6dA/kdCvek9SYa/FFGp24dVg=" ;
24
24
} ;
25
+
26
+ # Fixes framebuffer with linux 6.11
27
+ fbdev_linux_611_patch = fetchpatch {
28
+ url = "https://patch-diff.githubusercontent.com/raw/NVIDIA/open-gpu-kernel-modules/pull/692.patch" ;
29
+ hash = "sha256-OYw8TsHDpBE5DBzdZCBT45+AiznzO9SfECz5/uXN5Uc=" ;
30
+ } ;
25
31
in
26
32
rec {
27
33
mkDriver = generic ;
48
54
openSha256 = "sha256-/32Zf0dKrofTmPZ3Ratw4vDM7B+OgpC4p7s+RHUjCrg=" ;
49
55
settingsSha256 = "sha256-kQsvDgnxis9ANFmwIwB7HX5MkIAcpEEAHc8IBOLdXvk=" ;
50
56
persistencedSha256 = "sha256-E2J2wYYyRu7Kc3MMZz/8ZIemcZg68rkzvqEwFAL3fFs=" ;
57
+ patchesOpen = [ fbdev_linux_611_patch ] ;
51
58
} ) ;
52
59
53
60
beta = selectHighestVersion latest ( generic {
Original file line number Diff line number Diff line change 23
23
, postPatch ? null
24
24
, patchFlags ? null
25
25
, patches ? [ ]
26
+ , patchesOpen ? [ ]
26
27
, preInstall ? null
27
28
, postInstall ? null
28
29
, broken ? false
201
202
( hash : callPackage ./open.nix {
202
203
inherit hash ;
203
204
nvidia_x11 = self ;
205
+ patches = patchesOpen ;
204
206
broken = brokenOpen ;
205
207
} )
206
208
openSha256 ;
Original file line number Diff line number Diff line change 4
4
, kernel
5
5
, nvidia_x11
6
6
, hash
7
+ , patches ? [ ]
7
8
, broken ? false
8
9
} :
9
10
@@ -18,6 +19,8 @@ stdenv.mkDerivation ({
18
19
inherit hash ;
19
20
} ;
20
21
22
+ inherit patches ;
23
+
21
24
nativeBuildInputs = kernel . moduleBuildDependencies ;
22
25
23
26
makeFlags = kernel . makeFlags ++ [
You can’t perform that action at this time.
0 commit comments