From e7940569dde86d92e25ceb07824f6853515ca0b5 Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Sat, 17 Dec 2022 19:01:18 +0200 Subject: [PATCH] nix/wlroots: add nvidia patch --- nix/wlroots.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nix/wlroots.nix b/nix/wlroots.nix index ee54557b..b3aa6194 100644 --- a/nix/wlroots.nix +++ b/nix/wlroots.nix @@ -42,6 +42,12 @@ assert (lib.assertMsg (hidpiXWayland -> enableXWayland) '' sha256 = "sha256-jvfkAMh3gzkfuoRhB4E9T5X1Hu62wgUjj4tZkJm0mrI="; revert = true; }) + ]) + ++ (lib.optionals nvidiaPatches [ + (fetchpatch { + url = "https://aur.archlinux.org/cgit/aur.git/plain/0001-nvidia-format-workaround.patch?h=hyprland-nvidia-screenshare-git"; + sha256 = "A9f1p5EW++mGCaNq8w7ZJfeWmvTfUm4iO+1KDcnqYX8="; + }) ]); postPatch = (old.postPatch or "")