From b376c1ce9df5ac104baff7d0ce5048d16c485348 Mon Sep 17 00:00:00 2001 From: Kiskae Date: Wed, 30 Mar 2022 00:07:13 +0200 Subject: [PATCH] linuxPackages.nvidia_x11_legacy390: mark as broken As of linux 5.17 the removal of the `PDE_DATA()` macro breaks this version of the driver. --- pkgs/os-specific/linux/nvidia-x11/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/nvidia-x11/default.nix b/pkgs/os-specific/linux/nvidia-x11/default.nix index 246295eb7340..9cf48dae4bf4 100644 --- a/pkgs/os-specific/linux/nvidia-x11/default.nix +++ b/pkgs/os-specific/linux/nvidia-x11/default.nix @@ -67,6 +67,8 @@ rec { sha256_64bit = "09qcdfn4j5jza3iw59wqwgq4a489qf7kx355yssrcahaw9g87lxz"; settingsSha256 = "16qqw0jy31da65cdi17y3j2kcdhw09vra7g17bkcimaqnf70j0ni"; persistencedSha256 = "1ad81y4qfpxrx0vqsk81a3h0bi1yg8hw5gi5y5d58p76vc8083i9"; + + broken = kernel.kernelAtLeast "5.17"; }; legacy_340 = generic { @@ -77,7 +79,7 @@ rec { persistencedSha256 = "1ax4xn3nmxg1y6immq933cqzw6cj04x93saiasdc0kjlv0pvvnkn"; useGLVND = false; - broken = with kernel; kernelAtLeast "5.5"; + broken = kernel.kernelAtLeast "5.5"; patches = [ ./vm_operations_struct-fault.patch ]; }; }