From 366da7c17c57db00710b632892ff1a1f61ae2c02 Mon Sep 17 00:00:00 2001 From: timor Date: Wed, 6 Feb 2019 17:30:09 +0100 Subject: 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) --- nixos/modules/misc/documentation.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'nixos/modules') 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 { -- cgit 1.4.1