Does apropos now work by default?

On both the official wiki and this forum there are steps to make apropos work

However, when testing it today, it worked on my machine, even though I have done neither.
And ls /var/cache/man/nixos fails with No such file or directory.

Do you know whether it was patched ?
If so a pointer would be welcome so I can update the wiki

1 Like

Hello, I think this MR might be of relevance to you: nixos/man-db: add option to generate cache at runtime by gravndal · Pull Request #488395 · NixOS/nixpkgs · GitHub

From a quick look at it it does not seem to enable anything by default. Nevertheless the wiki should probably be updated to improve this additional approach. Probably this should probably even be the suggested method since it imprives build time ssignificantly without really impacting the systems functionality.

3 Likes

For some reason, it is not enabled by default, unless you use fish ! (which I do)
(and this predates this MR)

I updated the wiki page with all this information, I’m fairly new to this wiki, so feel free to fix any mistake (for example stylistic)

1 Like

I did a second pass now that I found out how to also include home-manager programs in the cache

Thank you for contributing!