Change:
++ lib.optional sndioSupport sndio ++ lib.optional jackSupport libjack2 ++ lib.optional smartcardSupport opensc <ins> ++ lib.optional (cfg.speechSynthesisSupport or false) speechd </ins> ++ pkcs11Modules; gtk_modules = [ libcanberra-gtk3 ];

Discussion:
When opening a web page in reader mode, there is supposed to be but I see no such thing. I tried installing but that does not seem to be enough. Maybe is needed?
Hmm, apparently it needs to be built with speechd support:
Looks like it is actually building with speechd support when using GTK: We might need to use hardcode the path to speechd library:
When run using , the Narrator works.
Hello, I'm a bot and I thank you in the name of the community for opening this issue. To help our human contributors focus on the most-relevant reports, I check up on old issues to see if they're still relevant. This issue has had no activity for 180 days, and so I marked it as stale, but you can rest assured it will never be closed by a non-human. The community would appreciate your effort in checking if the issue is still valid. If it isn't, please close it. If the issue persists, and you'd like to remove the stale label, you simply need to leave a comment. Your comment can be as simple as "still important to me". If you'd like it to get more attention, you can ask for help by searching for maintainers and people that previously touched related code and @ mention them in a comment. You can use or on the relevant files to find them. Lastly, you can always ask for help at or at .
still important to me
don't show Narrator button. Also, returns .
I can confirm it does not work any more. Running with env vars does log but no other message I would expect from the source code: Or maybe NSPR logging is disabled at build time?
The source code between and is basically the same. I tried enabling debugging with the following patch: And it indeed looks promissing:
So if someone could find out why occurs, that would be helpful. Maybe by digging through the . Or by trying speechd from . Check its expression as well. Possibly it is connected with espeak-ng or mbrola backend changes. But does work so not everything is borked.
So I assume firefox must be using an output module that is not available.
That sounds consistent with But it is weird that it speaks even without flag.

Found something funny in my home directory , which is created by my nix configuration because it's read only: At
It sounds like it defaults to flite even though it should default to espeak-ng: Something is indeed fishy.
Oh, they changed the default: which broke our replacement:
Or maybe to : Maybe this line is the culprit:
Yeah, that is an invalid module so it falls back to flite as we observed. The fact that festival returns no voices is also weird, opened for that, but fixing the speechd package is more important.
Does the firefox nixpkg still need a change? After I manually fix the config: But firefox still has empty voice list at
We should probably update speechd to use
But I can confirm this patch fixes the Narrate feature: And I do have a very long list of languages on
I used for the testing (run in Nixpkgs with the patched speechd).
I confirm that it works, thanks.
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
This works for me : The page shows a select with the same voices that are listed with this command When i want text to speech, i have to stop Firefox, and restart it manually with the first command I would like to permanently fix Firefox How to do that ?