gimp: fix launch without icon theme

This commit is contained in:
chayleaf 2023-10-08 08:23:29 +07:00
parent bb180360b9
commit 6b4cad201b

View file

@ -100,9 +100,7 @@ in gimp.overrideAttrs (old: rec {
"-Dappdata-test=disabled"
];
enableParallelBuilding = false;
env = old.env // {
GIO_EXTRA_MODULES = "${glib-networking}/lib/gio/modules";
};
env = old.env // { GIO_EXTRA_MODULES = "${glib-networking}/lib/gio/modules"; };
preConfigure = "";
postPatch = ''
patchShebangs \
@ -126,7 +124,10 @@ in gimp.overrideAttrs (old: rec {
'';
preFixup = ''
gappsWrapperArgs+=(--prefix PATH : "${lib.makeBinPath [ graphviz ]}:$out/bin")
gappsWrapperArgs+=(\
--prefix PATH : "${lib.makeBinPath [ graphviz ]}:$out/bin" \
--suffix XDG_DATA_DIRS : "${gnome.adwaita-icon-theme}/share" \
)
'';
postFixup = ''
moveToOutput "share/doc" "$devdoc"