From 87d614441d51da42d4d7102155e4535c64f8c1df Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Thu, 3 Dec 2020 21:57:09 +0100 Subject: [PATCH] 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. --- nixos/modules/misc/documentation.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/misc/documentation.nix b/nixos/modules/misc/documentation.nix index bc43cc33b5d..fe0263f158f 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 ''