summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2024-02-17 07:56:06 +0100
committerVladimír Čunát <v@cunat.cz>2024-02-17 07:58:14 +0100
commit776a4e40d31b17936cb9e053558cfdfbcaf1af12 (patch)
tree36381570bc7b34a8ad252b8b41737095da664436
parentMerge release-23.11 into staging-next-23.11 (diff)
downloadnixpkgs-776a4e40d31b17936cb9e053558cfdfbcaf1af12.tar.gz
gnome-builder: fix build by upstream patch
It's needed after gtk update, /cc PR #286334 (cherry picked from commit 0575895f0b5ac96e4e72eee4312aad449d0a3042)
-rw-r--r--pkgs/applications/editors/gnome-builder/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/applications/editors/gnome-builder/default.nix b/pkgs/applications/editors/gnome-builder/default.nix
index fc3f3fd27474..9d9efccc76b4 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 = [