mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
doc/hooks/desktop-file-utils: document hook
(cherry picked from commit 9baf2743ad
)
This commit is contained in:
parent
e842e646b1
commit
e82dc77a6a
5
doc/hooks/desktop-file-utils.section.md
Normal file
5
doc/hooks/desktop-file-utils.section.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# desktop-file-utils {#desktop-file-utils}
|
||||||
|
|
||||||
|
This setup hook removes the MIME cache (located at `$out/share/applications/mimeinfo.cache`) in the `preFixupPhase`.
|
||||||
|
|
||||||
|
This hook is necessary because `mimeinfo.cache` can be created when a package uses `desktop-file-utils`, resulting in collisions if multiple packages are installed that contain this file (as in [#48295](https://github.com/NixOS/nixpkgs/issues/48295)).
|
@ -11,6 +11,7 @@ autopatchelf.section.md
|
|||||||
bmake.section.md
|
bmake.section.md
|
||||||
breakpoint.section.md
|
breakpoint.section.md
|
||||||
cmake.section.md
|
cmake.section.md
|
||||||
|
desktop-file-utils.section.md
|
||||||
gdk-pixbuf.section.md
|
gdk-pixbuf.section.md
|
||||||
ghc.section.md
|
ghc.section.md
|
||||||
gnome.section.md
|
gnome.section.md
|
||||||
|
Loading…
Reference in New Issue
Block a user