summary refs log tree commit diff
path: root/nixos/modules/misc
diff options
context:
space:
mode:
authortimor <timor.dd@googlemail.com>2019-02-06 17:30:09 +0100
committertimor <timor.dd@googlemail.com>2019-02-06 17:39:28 +0100
commit366da7c17c57db00710b632892ff1a1f61ae2c02 (patch)
treec29fd74d9139321035eb1527535112f312e26d4d /nixos/modules/misc
parent8317d16d5555123d7957bdc5934f1420b494916e (diff)
downloadnixpkgs-366da7c17c57db00710b632892ff1a1f61ae2c02.tar
nixpkgs-366da7c17c57db00710b632892ff1a1f61ae2c02.tar.gz
nixpkgs-366da7c17c57db00710b632892ff1a1f61ae2c02.tar.bz2
nixpkgs-366da7c17c57db00710b632892ff1a1f61ae2c02.tar.lz
nixpkgs-366da7c17c57db00710b632892ff1a1f61ae2c02.tar.xz
nixpkgs-366da7c17c57db00710b632892ff1a1f61ae2c02.tar.zst
nixpkgs-366da7c17c57db00710b632892ff1a1f61ae2c02.zip
kio-extras: enable man protocol
This installs the kio "man:" protocol handler, which fixes the UNIX manual
section in the KDE Help Center.

Note that kde currently parses "/etc/man.conf" manually, if `$MANPATH` is not
set, to build its man page index. (if https://bugs.kde.org/show_bug.cgi?id=404022
is addressed, the "/etc/man.conf" symlink should not be necessary anymore)
Diffstat (limited to 'nixos/modules/misc')
-rw-r--r--nixos/modules/misc/documentation.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/misc/documentation.nix b/nixos/modules/misc/documentation.nix
index 09d53c322fb..9b2e1235b74 100644
--- a/nixos/modules/misc/documentation.nix
+++ b/nixos/modules/misc/documentation.nix
@@ -156,6 +156,7 @@ in
       environment.systemPackages = [ pkgs.man-db ];
       environment.pathsToLink = [ "/share/man" ];
       environment.extraOutputsToInstall = [ "man" ] ++ optional cfg.dev.enable "devman";
+      environment.etc."man.conf".source = "${pkgs.man-db}/etc/man_db.conf";
     })
 
     (mkIf cfg.info.enable {