@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitLab, meson, ninja, pkgconfig, gobject-introspection, vala
1+{ stdenv, fetchFromGitLab, fetchpatch, meson, ninja, pkgconfig, gobject-introspection, vala
22, gtk-doc, docbook_xsl, docbook_xml_dtd_43
33, gtk3, gnome3, glade
44, dbus, xvfb_run, libxml2
@@ -20,6 +20,16 @@ stdenv.mkDerivation rec {
2020 sha256 = "1y23k623sjkldfrdiwfarpchg5mg58smcy1pkgnwfwca15wm1ra5";
2121 };
2222
23+ patches = [
24+ # Fix build with Glade 3.36.0
25+ # https://source.puri.sm/Librem5/libhandy/merge_requests/451
26+ (fetchpatch {
27+ url = "https://source.puri.sm/Librem5/libhandy/commit/887beedb467984ab5c7b91830181645fadef7849.patch";
28+ sha256 = "ZW6qCtHhXMsLsxgcOjVAukgPAhOdvFhxx0iAQEEk8GE=";
29+ excludes = [ "glade/glade-hdy-header-bar.c" ];
30+ })
31+ ];
32+
2333 nativeBuildInputs = [
2434 meson ninja pkgconfig gobject-introspection vala libxml2
2535 gtk-doc docbook_xsl docbook_xml_dtd_43