Merge pull request #29983 from jtojnar/gnome-control-center-thumbnailers

gnome3.gnome_control_center: fix thumbnailers path
This commit is contained in:
Graham Christensen 2017-10-05 07:29:48 -04:00 committed by GitHub
commit 5c7cc53cb7

View File

@ -41,6 +41,9 @@ stdenv.mkDerivation rec {
preFixup = with gnome3; ''
gappsWrapperArgs+=(
--prefix XDG_DATA_DIRS : "${gnome3.gnome_themes_standard}/share:${sound-theme-freedesktop}/share"
# Thumbnailers (for setting user profile pictures)
--prefix XDG_DATA_DIRS : "${gdk_pixbuf}/share"
--prefix XDG_DATA_DIRS : "${librsvg}/share"
)
for i in $out/share/applications/*; do
substituteInPlace $i --replace "gnome-control-center" "$out/bin/gnome-control-center"