about summary refs log tree commit diff
path: root/pkgs/applications/graphics/gimp
diff options
context:
space:
mode:
authorRenaud <c0bw3b@users.noreply.github.com>2019-05-10 18:04:24 +0200
committerGitHub <noreply@github.com>2019-05-10 18:04:24 +0200
commit074c02f90fd2fe439d52bca4a26d39bca2f4c0fd (patch)
tree10520b441664408a2b453c2bac064580b5ded09c /pkgs/applications/graphics/gimp
parent651342628ea90e10f8477e863442dec5d7a1cdd3 (diff)
parentf9de595e86039327a3908876a2797d94ced43324 (diff)
Merge pull request #60935 from jluttine/gimp-add-gtk-path
gimp: fix GTK_PATH
Diffstat (limited to 'pkgs/applications/graphics/gimp')
-rw-r--r--pkgs/applications/graphics/gimp/wrapper.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/applications/graphics/gimp/wrapper.nix b/pkgs/applications/graphics/gimp/wrapper.nix
index ec529519159b2..11c1e9ada9316 100644
--- a/pkgs/applications/graphics/gimp/wrapper.nix
+++ b/pkgs/applications/graphics/gimp/wrapper.nix
@@ -1,4 +1,4 @@
-{ stdenv, lib, symlinkJoin, gimp, makeWrapper, gimpPlugins, plugins ? null}:
+{ stdenv, lib, symlinkJoin, gimp, makeWrapper, gimpPlugins, gnome3, plugins ? null}:
 
 let
 allPlugins = lib.filter (pkg: builtins.isAttrs pkg && pkg.type == "derivation" && !pkg.meta.broken or false) (lib.attrValues gimpPlugins);
@@ -17,6 +17,7 @@ in symlinkJoin {
     for each in gimp-${versionBranch} gimp-console-${versionBranch}; do
       wrapProgram $out/bin/$each \
         --set GIMP2_PLUGINDIR "$out/lib/gimp/2.0" \
+        --prefix GTK_PATH : "${gnome3.gnome-themes-extra}/lib/gtk-2.0" \
         ${toString extraArgs}
     done
     set +x