Skip to content

Commit

Permalink
swayfx-unwrapped: backport fix to support updated libinput
Browse files Browse the repository at this point in the history
This fix was previously included in a PR to sway in swaywm/sway#8470 to support newer libinput library versions.
  • Loading branch information
LordGrimmauld committed Jan 23, 2025
1 parent 80f8c4e commit 7933373
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkgs/by-name/sw/swayfx-unwrapped/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
enableXWayland ? true,
systemdSupport ? lib.meta.availableOn stdenv.hostPlatform systemd,
trayEnabled ? systemdSupport,
fetchpatch2,
}:

stdenv.mkDerivation (finalAttrs: {
Expand All @@ -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;
Expand Down

0 comments on commit 7933373

Please sign in to comment.