pantheon.granite7: Backport Gtk.init fix

Same as https://gitlab.gnome.org/GNOME/gnome-initial-setup/-/issues/223.
This commit is contained in:
Bobby Rong 2025-07-30 21:44:59 +08:00
parent 0b3faaa5e1
commit 48c857b95e
No known key found for this signature in database

View File

@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
nix-update-script,
meson,
ninja,
@ -33,6 +34,15 @@ stdenv.mkDerivation rec {
sha256 = "sha256-bv2rOq16xg9lCWfcLzAFN4LjBTJBxPhXvEJzutkdYzs=";
};
patches = [
# Init: Avoid crash with Gtk >= 4.17
# https://github.com/elementary/granite/pull/893
(fetchpatch {
url = "https://github.com/elementary/granite/commit/60cb8c4119b579592e6c7f3b1476e4d729f58699.patch";
hash = "sha256-6NB/Tu3mdmiBd77SOi4twdY/HidyhMn7mNN+54iFLIc=";
})
];
nativeBuildInputs = [
gettext
gobject-introspection