INFOPATH and MANPATH not set in profiles

  • Done
  • quality assurance status badge
Details
2 participants
  • Morgan Smith
  • Morgan Smith
Owner
unassigned
Submitted by
Morgan Smith
Severity
normal
Merged with
M
M
Morgan Smith wrote on 3 Jul 2021 15:54
(address . bug-guix@gnu.org)
BYAPR05MB4023D4EEDD06126BFA5B8816C51E9@BYAPR05MB4023.namprd05.prod.outlook.com
MANPATH is set by the man-db package, and /etc/profile.

INFOPATH is set by the emacs package, the texinfo package, and
/etc/profile.

/etc/profile sets the variables as such:
export MANPATH=$HOME/.guix-profile/share/man:/run/current-system/profile/share/man
export INFOPATH=$HOME/.guix-profile/share/info:/run/current-system/profile/share/info


This means if I use multiple profiles, and I don't have `(and man-db (or
emacs texinfo))` in each profile, then I can't access the info and man
files using the info and man commands.

For example:

Fails to find man page
guix environment --ad-hoc neovim
man nvim


Finds man page just fine
guix environment --ad-hoc man-db neovim
man nvim
M
M
Morgan Smith wrote on 24 Oct 2021 13:30
control message for bug #49353
(address . control@debbugs.gnu.org)
BYAPR05MB4023EF2170762A0114062DAFC5829@BYAPR05MB4023.namprd05.prod.outlook.com
merge 49353 37790
quit
?