diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2021-03-18 22:18:51 +0100 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2021-03-18 22:18:51 +0100 |
commit | 39bc2f7abe5c4eb71c6f47d974606467539e0354 (patch) | |
tree | b33ce1218c6b8cb10e2c7899be333b67e49ef378 /pkgs/applications/graphics/gimp | |
parent | 94bcca22ff7ac36df47b591fa8398eeb71d04b3d (diff) | |
download | nixpkgs-39bc2f7abe5c4eb71c6f47d974606467539e0354.tar nixpkgs-39bc2f7abe5c4eb71c6f47d974606467539e0354.tar.gz nixpkgs-39bc2f7abe5c4eb71c6f47d974606467539e0354.tar.bz2 nixpkgs-39bc2f7abe5c4eb71c6f47d974606467539e0354.tar.lz nixpkgs-39bc2f7abe5c4eb71c6f47d974606467539e0354.tar.xz nixpkgs-39bc2f7abe5c4eb71c6f47d974606467539e0354.tar.zst nixpkgs-39bc2f7abe5c4eb71c6f47d974606467539e0354.zip |
gimp: Fix crash without dot
GEGL 0.4.28 started marking introspect action as unavailable when dot is not present. But GIMP previously required the action to be present at startup, even though it was only ever used in dev builds. Let’s apply an upstream patch that removes this strict requirement.
Diffstat (limited to 'pkgs/applications/graphics/gimp')
-rw-r--r-- | pkgs/applications/graphics/gimp/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/gimp/default.nix b/pkgs/applications/graphics/gimp/default.nix index 62f1a362771..2491d8d3a8a 100644 --- a/pkgs/applications/graphics/gimp/default.nix +++ b/pkgs/applications/graphics/gimp/default.nix @@ -1,6 +1,7 @@ { stdenv , lib , fetchurl +, fetchpatch , substituteAll , autoreconfHook , pkg-config @@ -72,6 +73,12 @@ in stdenv.mkDerivation rec { # Use absolute paths instead of relying on PATH # to make sure plug-ins are loaded by the correct interpreter. ./hardcode-plugin-interpreters.patch + + # Fix crash without dot. + (fetchpatch { + url = "https://gitlab.gnome.org/GNOME/gimp/-/commit/f83fd22c4b8701ffc4ce14383e5e22756a4bce04.patch"; + sha256 = "POuvBhOSStO7hBGp4HgNx5F9pElFRoqN3W+i3u4zOnk="; + }) ]; nativeBuildInputs = [ |