diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2016-05-23 19:50:25 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2016-05-23 19:53:05 +0200 |
commit | b9df4311dc1f50253ec86be6b7908fa620070ffd (patch) | |
tree | aebab792247bcef2ccb398d81bebbf9e40cae185 /nixos | |
parent | f8cc92fd6deed36e610b627cee5cf74d572ac81a (diff) | |
download | nixlib-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.nix | 2 |
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" ]; |