man: update database cache generation

Specifically, use the configured man-db package for generating the
database cache.
This commit is contained in:
Stanislav Asunkin 2022-12-29 11:40:05 +03:00 committed by Robert Helgesson
parent f97f191fe7
commit cbacdaba3c
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -69,7 +69,7 @@ in {
echo "MANDB_MAP ${manualPages}/share/man $out" > man.conf
# Run mandb to generate cache files:
${pkgs.man-db}/bin/mandb -C man.conf --no-straycats --create \
${cfg.package}/bin/mandb -C man.conf --no-straycats --create \
${manualPages}/share/man
'';
in ''