-
Chrome does expect native messaging host config in
/etc/...
→ easy.
{
environment.etc."...".text = "...";
}
-
Firefox does expect native messaging host config in
/usr/lib/...
→
{
"???" = "???";
}
/etc/...
→ easy.
{
environment.etc."...".text = "...";
}
/usr/lib/...
→
{
"???" = "???";
}
It does not expect it in /usr/lib
but in $libdir
(path it was installed to). And we already patch Firefox to be able to change the directory:
which makes the messaging hosts work: