diff options
| author | Mihai Fufezan <fufexan@protonmail.com> | 2022-12-17 19:01:18 +0200 |
|---|---|---|
| committer | Mihai Fufezan <fufexan@protonmail.com> | 2022-12-17 21:41:22 +0200 |
| commit | e7940569dde86d92e25ceb07824f6853515ca0b5 (patch) | |
| tree | 278f9eeb403761a38a9a78e72623bbb45821ef9d | |
| parent | f59c9a805e7f3686202c36a13364518c0e4ecc9d (diff) | |
nix/wlroots: add nvidia patch
| -rw-r--r-- | nix/wlroots.nix | 6 |
1 files changed, 6 insertions, 0 deletions
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 "") |
