From a0c393fbcd45f0be55cc59740086b91564a33fed Mon Sep 17 00:00:00 2001 From: Ali Rizvi Date: Sun, 20 Jul 2025 15:57:34 -0400 Subject: [PATCH] gimp3: introduce patch to fix crashing issue --- pkgs/applications/graphics/gimp/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/applications/graphics/gimp/default.nix b/pkgs/applications/graphics/gimp/default.nix index d943e0efccab..6d720415a5e3 100644 --- a/pkgs/applications/graphics/gimp/default.nix +++ b/pkgs/applications/graphics/gimp/default.nix @@ -66,6 +66,7 @@ adwaita-icon-theme, alsa-lib, desktopToDarwinBundle, + fetchpatch, }: let @@ -110,6 +111,13 @@ stdenv.mkDerivation (finalAttrs: { (replaceVars ./tests-dbus-conf.patch { session_conf = "${dbus.out}/share/dbus-1/session.conf"; }) + + # Fix a crash that occurs when trying to pick a color for text outline + # TODO: remove after GIMP 3.2 is released, per https://gitlab.gnome.org/GNOME/gimp/-/issues/14047#note_2491655 + (fetchpatch { + url = "https://gitlab.gnome.org/GNOME/gimp/-/commit/1685c86af5d6253151d0056a9677ba469ea10164.diff"; + hash = "sha256-Rb3ANXWki21thByEIWkBgWEml4x9Qq2HAIB9ho1bygw="; + }) ]; nativeBuildInputs =