aboutsummaryrefslogtreecommitdiff
path: root/nixos/modules
diff options
context:
space:
mode:
authorrnhmjoj <rnhmjoj@inventati.org>2020-12-03 21:57:09 +0100
committerrnhmjoj <rnhmjoj@inventati.org>2020-12-03 21:57:09 +0100
commit87d614441d51da42d4d7102155e4535c64f8c1df (patch)
tree957b3feb65ae9c7a9118f38787b03d678496f0d7 /nixos/modules
parentc7fe6531a400f78a1fdb907d582b930e9ee0a1d4 (diff)
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.
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/misc/documentation.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/misc/documentation.nix b/nixos/modules/misc/documentation.nix
index bc43cc33b5d4..fe0263f158f4 100644
--- a/nixos/modules/misc/documentation.nix
+++ b/nixos/modules/misc/documentation.nix
@@ -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
''