summaryrefslogtreecommitdiffstats
path: root/tv/2configs/man.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-02-17 23:35:43 +0100
committertv <tv@krebsco.de>2016-02-17 23:35:43 +0100
commitf7d6e2043184401f7007b248fbe3af66b2752351 (patch)
tree3a565683ea8fe9be1bf761f98d7b8d557cd75284 /tv/2configs/man.nix
parent970eed274818cb49517fa5ef8b39a30d99302f1e (diff)
tv man: inhibit warning break
Diffstat (limited to 'tv/2configs/man.nix')
-rw-r--r--tv/2configs/man.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/tv/2configs/man.nix b/tv/2configs/man.nix
index 686e574fc..a84e60b73 100644
--- a/tv/2configs/man.nix
+++ b/tv/2configs/man.nix
@@ -1,5 +1,10 @@
{ config, lib, pkgs, ... }:
{
+ environment.etc."man.conf".source = pkgs.runCommand "man.conf" {} ''
+ ${pkgs.gnused}/bin/sed <${pkgs.man}/lib/man.conf >$out '
+ s:^NROFF\t.*:& -Wbreak:
+ '
+ '';
environment.systemPackages = with pkgs; [
manpages
posix_man_pages