Skip to content

Commit

Permalink
nixos/documentation: silence man-db cache warnings
Browse files Browse the repository at this point in the history
The output of the man-db command used to generate the caches is
irrelevant and can confuse users, let's hide it.

(cherry picked from commit 87d6144)
  • Loading branch information
rnhmjoj committed Dec 3, 2020
1 parent 1d957fd commit b611618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/misc/documentation.nix
Expand Up @@ -209,7 +209,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
''
Expand Down

0 comments on commit b611618

Please sign in to comment.