From 0575895f0b5ac96e4e72eee4312aad449d0a3042 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sat, 17 Feb 2024 07:56:06 +0100 Subject: [PATCH] gnome-builder: fix build by upstream patch It's needed after gtk update, /cc PR #286303 --- pkgs/applications/editors/gnome-builder/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/applications/editors/gnome-builder/default.nix b/pkgs/applications/editors/gnome-builder/default.nix index da36d5f111f7..b1360f2a147e 100644 --- a/pkgs/applications/editors/gnome-builder/default.nix +++ b/pkgs/applications/editors/gnome-builder/default.nix @@ -5,6 +5,7 @@ , desktop-file-utils , editorconfig-core-c , fetchurl +, fetchpatch , flatpak , gnome , libgit2-glib @@ -63,6 +64,12 @@ stdenv.mkDerivation rec { # # Typelib file for namespace 'Pango', version '1.0' not found (g-irepository-error-quark, 0) ./fix-finding-test-typelibs.patch + + (fetchpatch { + name = "redefinition-of-glib_autoptr_clear_GtkStackPage.patch"; + url = "https://gitlab.gnome.org/GNOME/gnome-builder/-/commit/7aaaecefc2ea8a37eaeae8b4d726d119d4eb8fa3.patch"; + hash = "sha256-sYLqhwCd9GOkUMUZAO2trAGKC3013jgivHrNC4atdn0="; + }) ]; nativeBuildInputs = [