Files
Austin Horstman 52e61a24f8 mozilla-messaging-hosts: stop linking placeholder .keep file
Enabling Thunderbird or Firefox always adds the wrapped package to the
native messaging hosts join, so the shared module linked a .keep file
into ~/.mozilla/native-messaging-hosts even when no hosts were
configured. The placeholder only existed to guarantee that the joined
lib/mozilla/native-messaging-hosts source path was present.

Create that directory in the join's postBuild instead. An empty
directory produces no links in the home directory, while real host
manifests are linked as before. Whole packages are still joined rather
than using stripPrefix, so relative manifest links such as
passff-host's keep resolving inside the join.

Also flatten nativeMessagingHosts before checking emptiness so Linux's
nested [ firefox thunderbird ] list does not emit an empty
~/.mozilla/native-messaging-hosts join when only LibreWolf is enabled.

Fixes #10116
2026-12-02 22:22:26 -06:00
..