From 7fd7464dff96faf6a68378b25dfa7cf8742c961b Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Mon, 5 Feb 2024 14:16:46 +0400 Subject: [PATCH] asdfkl;asdfjk; --- overlays/default.nix | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/overlays/default.nix b/overlays/default.nix index d233b606..89e572cd 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -31,14 +31,12 @@ in { src = ../config/dwm; }); nvidiaDriverPackage = prev.nvidiaDriverPackage.overrideAttrs (old: { - patches = - (old.patches or []) - ++ [ - (prev.fetchpatch { - url = "https://github.com/gentoo/gentoo/raw/c64caf53/x11-drivers/nvidia-drivers/files/nvidia-drivers-470.223.02-gpl-pfn_valid.patch"; - hash = "sha256-eZiQQp2S/asE7MfGvfe6dA/kdCvek9SYa/FFGp24dVg="; - }) - ]; + patches = [ + (prev.fetchpatch { + url = "https://github.com/gentoo/gentoo/raw/c64caf53/x11-drivers/nvidia-drivers/files/nvidia-drivers-470.223.02-gpl-pfn_valid.patch"; + hash = "sha256-eZiQQp2S/asE7MfGvfe6dA/kdCvek9SYa/FFGp24dVg="; + }) + ]; }); };