xfce: SVG icon support in xfce4-panel, fixes #18536

Thanks to Yuriy Pitomets, Jonathan Curran, and David Kleuker.
This commit is contained in:
Yegor Timoshenko 2017-12-18 01:08:28 +00:00
parent 71bb7cc2a7
commit 209cbf9fc7

View file

@ -124,6 +124,9 @@ in
[ "/share/xfce4" "/share/themes" "/share/mime" "/share/desktop-directories" "/share/gtksourceview-2.0" ];
environment.variables.GIO_EXTRA_MODULES = [ "${pkgs.xfce.gvfs}/lib/gio/modules" ];
environment.variables.GDK_PIXBUF_MODULE_FILE = [
"$(echo ${pkgs.librsvg.out}/lib/gdk-pixbuf-*/*/loaders.cache)"
];
# Enable helpful DBus services.
services.udisks2.enable = true;