Unverified Commit 7457c976 authored by winston's avatar winston
Browse files

swaysettings: fix GTK 4.20 build

parent 366aa24d
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
{
  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
  '';