Merge pull request #60935 from jluttine/gimp-add-gtk-path
gimp: fix GTK_PATH
This commit is contained in:
commit
074c02f90f
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, lib, symlinkJoin, gimp, makeWrapper, gimpPlugins, plugins ? null}:
|
{ stdenv, lib, symlinkJoin, gimp, makeWrapper, gimpPlugins, gnome3, plugins ? null}:
|
||||||
|
|
||||||
let
|
let
|
||||||
allPlugins = lib.filter (pkg: builtins.isAttrs pkg && pkg.type == "derivation" && !pkg.meta.broken or false) (lib.attrValues gimpPlugins);
|
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
|
for each in gimp-${versionBranch} gimp-console-${versionBranch}; do
|
||||||
wrapProgram $out/bin/$each \
|
wrapProgram $out/bin/$each \
|
||||||
--set GIMP2_PLUGINDIR "$out/lib/gimp/2.0" \
|
--set GIMP2_PLUGINDIR "$out/lib/gimp/2.0" \
|
||||||
|
--prefix GTK_PATH : "${gnome3.gnome-themes-extra}/lib/gtk-2.0" \
|
||||||
${toString extraArgs}
|
${toString extraArgs}
|
||||||
done
|
done
|
||||||
set +x
|
set +x
|
||||||
|
|
Loading…
Reference in New Issue