1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-25 01:26:17 +00:00

xdg-mime: Fix cross compilation ()

This commit is contained in:
Leandro Emmanuel Reina Kiperman 2025-03-10 14:32:06 +01:00 committed by GitHub
parent 744f749dd6
commit 3593ee59a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -63,15 +63,19 @@ in {
if [[ -w $out/share/mime && -w $out/share/mime/packages && -d $out/share/mime/packages ]]; then
XDG_DATA_DIRS=$out/share \
PKGSYSTEM_ENABLE_FSYNC=0 \
${getExe cfg.sharedMimeInfoPackage} \
-V $out/share/mime > /dev/null
${
getExe
(cfg.sharedMimeInfoPackage.__spliced.buildHost or cfg.sharedMimeInfoPackage)
} -V $out/share/mime > /dev/null
fi
if [[ -w $out/share/applications ]]; then
${getExe' cfg.desktopFileUtilsPackage "update-desktop-database"} \
$out/share/applications
${
getExe'
(cfg.desktopFileUtilsPackage.__spliced.buildHost or cfg.desktopFileUtilsPackage)
"update-desktop-database"
} $out/share/applications
fi
'';
};
}