···50 outputBin = "dev";
5152 setupHooks = [
53- ./gtk3-clean-immodules-cache.sh
54- ./drop-icon-theme-cache.sh
55 ];
5657 src = fetchurl {
···60 };
6162 patches = [
63- ./3.0-immodules.cache.patch
64 (fetchpatch {
65 name = "Xft-setting-fallback-compute-DPI-properly.patch";
66 url = "https://bug757142.bugzilla-attachments.gnome.org/attachment.cgi?id=344123";
67 sha256 = "0g6fhqcv8spfy3mfmxpyji93k8d4p4q4fz1v9a1c1cgcwkz41d7p";
68 })
69 # https://gitlab.gnome.org/GNOME/gtk/merge_requests/1002
70- ./01-build-Fix-path-handling-in-pkgconfig.patch
71 ] ++ optionals stdenv.isDarwin [
72 # X11 module requires <gio/gdesktopappinfo.h> which is not installed on Darwin
73 # let’s drop that dependency in similar way to how other parts of the library do it
74 # e.g. https://gitlab.gnome.org/GNOME/gtk/blob/3.24.4/gtk/gtk-launch.c#L31-33
75- ./3.0-darwin-x11.patch
76 ];
7778 mesonFlags = [
···50 outputBin = "dev";
5152 setupHooks = [
53+ ./hooks/gtk3-clean-immodules-cache.sh
54+ ./hooks/drop-icon-theme-cache.sh
55 ];
5657 src = fetchurl {
···60 };
6162 patches = [
63+ ./patches/3.0-immodules.cache.patch
64 (fetchpatch {
65 name = "Xft-setting-fallback-compute-DPI-properly.patch";
66 url = "https://bug757142.bugzilla-attachments.gnome.org/attachment.cgi?id=344123";
67 sha256 = "0g6fhqcv8spfy3mfmxpyji93k8d4p4q4fz1v9a1c1cgcwkz41d7p";
68 })
69 # https://gitlab.gnome.org/GNOME/gtk/merge_requests/1002
70+ ./patches/01-build-Fix-path-handling-in-pkgconfig.patch
71 ] ++ optionals stdenv.isDarwin [
72 # X11 module requires <gio/gdesktopappinfo.h> which is not installed on Darwin
73 # let’s drop that dependency in similar way to how other parts of the library do it
74 # e.g. https://gitlab.gnome.org/GNOME/gtk/blob/3.24.4/gtk/gtk-launch.c#L31-33
75+ ./patches/3.0-darwin-x11.patch
76 ];
7778 mesonFlags = [