3
0
Fork 0
forked from mirrors/nixpkgs

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:
rnhmjoj 2020-12-03 21:57:09 +01:00
parent c7fe6531a4
commit 87d614441d
No known key found for this signature in database
GPG key ID: BFBAF4C975F76450

View file

@ -217,7 +217,7 @@ in
manualCache = pkgs.runCommandLocal "man-cache" { }
''
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
''