1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-23 10:49:39 +01:00

xdg-mime: Fix cross compilation (#6500)

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 if [[ -w $out/share/mime && -w $out/share/mime/packages && -d $out/share/mime/packages ]]; then
XDG_DATA_DIRS=$out/share \ XDG_DATA_DIRS=$out/share \
PKGSYSTEM_ENABLE_FSYNC=0 \ 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 fi
if [[ -w $out/share/applications ]]; then 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 fi
''; '';
}; };
} }