swayfx-unwrapped: backport fix to support updated libinput

This fix was previously included in a PR to sway in https://github.com/swaywm/sway/pull/8470 to support newer libinput library versions.
This commit is contained in:
Grimmauld
2025-01-23 20:11:16 +01:00
parent 80f8c4e269
commit 7933373dd9
@@ -33,6 +33,7 @@
enableXWayland ? true,
systemdSupport ? lib.meta.availableOn stdenv.hostPlatform systemd,
trayEnabled ? systemdSupport,
fetchpatch2,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -57,6 +58,12 @@ stdenv.mkDerivation (finalAttrs: {
[
./load-configuration-from-etc.patch
(fetchpatch2 {
# fix missing switch statement for newer libinput
url = "https://github.com/swaywm/sway/pull/8470.patch?full_index=1";
hash = "sha256-UTZ2DNEsGi5RYrgZThHkYz3AnnIl/KxieinA1WUZRq4=";
})
(substituteAll {
src = ./fix-paths.patch;
inherit swaybg;