desktop-files-utils: add setupHook to remove mimeinfo.cache

Post-Installation scripts are running `update-desktop-database -q`
creating these files which obviously results in a lot of collisions.

Much better solution than eventually noticing their existence and
removing them in postInstall.
This commit is contained in:
worldofpeace
2019-02-09 01:29:53 +00:00
parent ec076f77cd
commit 69be72a64a
4 changed files with 8 additions and 8 deletions
@@ -49,10 +49,6 @@ stdenv.mkDerivation rec {
patchShebangs meson_post_install.py
'';
postInstall = ''
rm $out/share/applications/mimeinfo.cache
'';
meta = {
homepage = https://fontmanager.github.io/;
description = "Simple font management for GTK+ desktop environments";