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:
parent
a5b4c74a16
commit
add4977a91
|
@ -135,6 +135,10 @@ in
|
||||||
if [ -x $out/bin/glib-compile-schemas -a -w $out/share/glib-2.0/schemas ]; then
|
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
|
$out/bin/glib-compile-schemas $out/share/glib-2.0/schemas
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -x $out/bin/update-desktop-database -a -w $out/share/applications ]; then
|
||||||
|
$out/bin/update-desktop-database $out/share/applications
|
||||||
|
fi
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -75,6 +75,7 @@ in {
|
||||||
"${pkgs.glib_networking}/lib/gio/modules" ];
|
"${pkgs.glib_networking}/lib/gio/modules" ];
|
||||||
environment.systemPackages =
|
environment.systemPackages =
|
||||||
[ gnome3.dconf
|
[ gnome3.dconf
|
||||||
|
pkgs.desktop_file_utils
|
||||||
pkgs.glib_networking
|
pkgs.glib_networking
|
||||||
pkgs.ibus
|
pkgs.ibus
|
||||||
gnome3.gnome-backgrounds
|
gnome3.gnome-backgrounds
|
||||||
|
|
Loading…
Reference in New Issue
Block a user