summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2016-05-23 19:50:25 +0200
committerVladimír Čunát <vcunat@gmail.com>2016-05-23 19:53:05 +0200
commitb9df4311dc1f50253ec86be6b7908fa620070ffd (patch)
treeaebab792247bcef2ccb398d81bebbf9e40cae185 /nixos
parentf8cc92fd6deed36e610b627cee5cf74d572ac81a (diff)
downloadnixlib-b9df4311dc1f50253ec86be6b7908fa620070ffd.tar
nixlib-b9df4311dc1f50253ec86be6b7908fa620070ffd.tar.gz
nixlib-b9df4311dc1f50253ec86be6b7908fa620070ffd.tar.bz2
nixlib-b9df4311dc1f50253ec86be6b7908fa620070ffd.tar.lz
nixlib-b9df4311dc1f50253ec86be6b7908fa620070ffd.tar.xz
nixlib-b9df4311dc1f50253ec86be6b7908fa620070ffd.tar.zst
nixlib-b9df4311dc1f50253ec86be6b7908fa620070ffd.zip
man-db: make it the default man provider
For now, leave the old implementation under `man-old` attribute.

Small warning: I had a leftover ~/.nix-profile/man from an old package,
which caused man-db's man prefer it and ignore ~/.nix-profile/share/man.
The PATH->MANPATH code just selects the first match for each PATH item.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/programs/man.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/programs/man.nix b/nixos/modules/programs/man.nix
index 201144ccb451..e59ffd6f936d 100644
--- a/nixos/modules/programs/man.nix
+++ b/nixos/modules/programs/man.nix
@@ -19,7 +19,7 @@ with lib;
 
   config = mkIf config.programs.man.enable {
 
-    environment.systemPackages = [ pkgs.man ];
+    environment.systemPackages = [ pkgs.man-db ];
 
     environment.pathsToLink = [ "/share/man" ];