宋文武 skribis:
> * guix/profiles (xdg-mime-database): New function.
> (%default-profile-hooks): Add it.
[...]
> + (update-mime-database (string-append
> + #+shared-mime-info
> + "/bin/update-mime-database")))
iyzs...@member.fsf.org (宋文武) skribis:
> The xdg-desktop-database hook rebuilds the 'mimeinfo.cache' database
> from desktop files of applications, which then is used to decide the
> "Default Application" (in thunar, nautilus, etc.) for a MIME type.
>
> The xdg-mime-database hook rebuilds the 'mime
The xdg-desktop-database hook rebuilds the 'mimeinfo.cache' database
from desktop files of applications, which then is used to decide the
"Default Application" (in thunar, nautilus, etc.) for a MIME type.
The xdg-mime-database hook rebuilds the 'mime.cache' database,
it's the shared mime-info data
* guix/profiles (xdg-mime-database): New function.
(%default-profile-hooks): Add it.
---
guix/profiles.scm | 36 +++-
1 file changed, 35 insertions(+), 1 deletion(-)
diff --git a/guix/profiles.scm b/guix/profiles.scm
index 38e2730..84bcbd2 100644
--- a/guix/profile