sway: patch to fix build after libinput update

+7 -1
+7 -1
pkgs/applications/window-managers/sway/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, substituteAll, swaybg 1 + { lib, stdenv, fetchFromGitHub, fetchpatch, substituteAll, swaybg 2 2 , meson, ninja, pkg-config, wayland-scanner, scdoc 3 3 , wayland, libxkbcommon, pcre2, json_c, libevdev 4 4 , pango, cairo, libinput, libcap, pam, gdk-pixbuf, librsvg ··· 37 37 (substituteAll { 38 38 src = ./fix-paths.patch; 39 39 inherit swaybg; 40 + }) 41 + 42 + (fetchpatch { 43 + name = "LIBINPUT_CONFIG_ACCEL_PROFILE_CUSTOM.patch"; 44 + url = "https://github.com/swaywm/sway/commit/dee032d0a0ecd958c902b88302dc59703d703c7f.diff"; 45 + hash = "sha256-dx+7MpEiAkxTBnJcsT3/1BO8rYRfNLecXmpAvhqGMD0="; 40 46 }) 41 47 ] ++ lib.optionals (!isNixOS) [ 42 48 # References to /nix/store/... will get GC'ed which causes problems when