--- Begin Message ---
Subject: |
INFOPATH and MANPATH not set in profiles |
Date: |
Sat, 03 Jul 2021 09:54:17 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
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
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#37790: MANPATH missing from non-default profile |
Date: |
Thu, 03 Mar 2022 01:24:59 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
tags 37790 notabug
thanks
Hi,
Pierre Neidhardt <mail@ambrevar.xyz> writes:
> Ludovic Courtès <ludo@gnu.org> writes:
>
>> I agree it’s inconvenient, but how would you add an exception?
>
> I'm not too sure how Guix works here, but what about when building the
> profile, systematically populating etc/profile with MANPATH=...?
I don't think special casing ~/.guix-profile like this, polluting other
profiles is a good idea.
I'm closing this 2+ years old bug.
Thank you,
Maxim
--- End Message ---