nixos/documentation: silence man-db cache warnings
The output of the man-db command used to generate the caches is irrelevant and can confuse users, let's hide it.
This commit is contained in:
parent
c7fe6531a4
commit
87d614441d
|
@ -217,7 +217,7 @@ in
|
||||||
manualCache = pkgs.runCommandLocal "man-cache" { }
|
manualCache = pkgs.runCommandLocal "man-cache" { }
|
||||||
''
|
''
|
||||||
echo "MANDB_MAP ${manualPages}/share/man $out" > man.conf
|
echo "MANDB_MAP ${manualPages}/share/man $out" > man.conf
|
||||||
${pkgs.man-db}/bin/mandb -C man.conf -psc
|
${pkgs.man-db}/bin/mandb -C man.conf -psc >/dev/null 2>&1
|
||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
''
|
''
|
||||||
|
|
Loading…
Reference in New Issue