system-path, gnome3: run update-desktop-database to create the mime cache

This allows programs such as yelp to handle help:// protocol schemas
This commit is contained in:
Luca Bruno 2014-04-12 16:30:29 +02:00
parent a5b4c74a16
commit add4977a91
2 changed files with 5 additions and 0 deletions

View File

@ -135,6 +135,10 @@ in
if [ -x $out/bin/glib-compile-schemas -a -w $out/share/glib-2.0/schemas ]; then
$out/bin/glib-compile-schemas $out/share/glib-2.0/schemas
fi
if [ -x $out/bin/update-desktop-database -a -w $out/share/applications ]; then
$out/bin/update-desktop-database $out/share/applications
fi
'';
};

View File

@ -75,6 +75,7 @@ in {
"${pkgs.glib_networking}/lib/gio/modules" ];
environment.systemPackages =
[ gnome3.dconf
pkgs.desktop_file_utils
pkgs.glib_networking
pkgs.ibus
gnome3.gnome-backgrounds