swaysettings: fix GTK 4.20 build

This commit is contained in:
winston
2025-11-14 14:02:20 +01:00
parent 366aa24dc3
commit 7457c976cd
+9
View File
@@ -1,6 +1,7 @@
{
lib,
fetchFromGitHub,
fetchpatch2,
accountsservice,
appstream-glib,
dbus,
@@ -77,6 +78,14 @@ stdenv.mkDerivation rec {
libadwaita
];
patches = [
(fetchpatch2 {
name = "gtk-4.20-fix.patch";
url = "https://github.com/ErikReider/SwaySettings/commit/e4f3749a053b5fbe0feab93e46d6eba380ee2e58.patch?full_index=1";
hash = "sha256-3A0VPAUQ3UjQ2mqR24z5CQ5Tdjw73UzfPz5UUcl/FDA=";
})
];
postPatch = ''
patchShebangs build-aux/meson/postinstall.py
'';