From c8e1cdb195c3f2b028a850fed1411e0142e8701d Mon Sep 17 00:00:00 2001 From: Grimmauld Date: Thu, 23 Jan 2025 19:18:46 +0100 Subject: [PATCH] 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. --- pkgs/by-name/sw/swayfx-unwrapped/package.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/by-name/sw/swayfx-unwrapped/package.nix b/pkgs/by-name/sw/swayfx-unwrapped/package.nix index f771a0101e241d..c05b8cfc600f4d 100644 --- a/pkgs/by-name/sw/swayfx-unwrapped/package.nix +++ b/pkgs/by-name/sw/swayfx-unwrapped/package.nix @@ -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 ipc-json + url = "https://github.com/swaywm/sway/pull/8470.patch"; + hash = "sha256-erm2NSx4rWk+eGfWPW/LQ18PjnfH5CoJB77WdarF9Bc="; + }) + (substituteAll { src = ./fix-paths.patch; inherit swaybg;