Subject: bug#37790: MANPATH missing from non-default profile

From: Ludovic Courtès <[email-masked]>
Date: Thu, 17 Oct 2019 16:54:51 +0200

Hi Pierre,

Pierre Neidhardt <[email-masked]> skribis:

> `man` fails to find man pages from non-default profiles.
> Indeed, MANPATH is set in /etc/profile to
>
> export MANPATH=\
> $HOME/.guix-profile/share/man\
> :/run/current-system/profile/share/man
>
> I believe that each profile should set MANPATH in their own etc/profile.

As usual, ‘MANPATH’ is only defined when ‘man-db’ is also present in the
profile, since ‘MANPATH’ “belongs” to ‘man-db’.

HTH!

Ludo’.