nix/wlroots: add nvidia patch

This commit is contained in:
Mihai Fufezan 2022-12-17 19:01:18 +02:00
parent f59c9a805e
commit e7940569dd
No known key found for this signature in database
GPG key ID: 5899325F2F120900

View file

@ -42,6 +42,12 @@ assert (lib.assertMsg (hidpiXWayland -> enableXWayland) ''
sha256 = "sha256-jvfkAMh3gzkfuoRhB4E9T5X1Hu62wgUjj4tZkJm0mrI="; sha256 = "sha256-jvfkAMh3gzkfuoRhB4E9T5X1Hu62wgUjj4tZkJm0mrI=";
revert = true; 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 = postPatch =
(old.postPatch or "") (old.postPatch or "")