forked from mirrors/nixpkgs
nixos: improve mime DB cache generation (close #11785)
This commit is contained in:
parent
07eb0ad76c
commit
301c74bc16
|
@ -128,7 +128,7 @@ in
|
|||
# !!! Hacky, should modularise.
|
||||
postBuild =
|
||||
''
|
||||
if [ -x $out/bin/update-mime-database -a -w $out/share/mime/packages ]; then
|
||||
if [ -x $out/bin/update-mime-database -a -w $out/share/mime ]; then
|
||||
XDG_DATA_DIRS=$out/share $out/bin/update-mime-database -V $out/share/mime > /dev/null
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue