summaryrefslogtreecommitdiffstats
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
commite09ef6ad6875c822848db809e462d6fffa11c176 (patch)
tree426349972aea8230f2587d0b520b25a85b5f3915
parent22061f0fce538773c8fff17fcaeaa21a95e41879 (diff)
tv man: inhibit warning break
-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 686e574..a84e60b 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