GNU bug report logs - #37790
MANPATH missing from non-default profile

Previous Next

Package: guix;

Reported by: Pierre Neidhardt <mail <at> ambrevar.xyz>

Date: Thu, 17 Oct 2019 12:59:02 UTC

Severity: normal

Merged with 49353

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#49353: closed (INFOPATH and MANPATH not set in profiles)
Date: Thu, 03 Mar 2022 06:26:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 03 Mar 2022 01:24:59 -0500
with message-id <87y21rimdg.fsf <at> gmail.com>
and subject line Re: bug#37790: MANPATH missing from non-default profile
has caused the debbugs.gnu.org bug report #37790,
regarding INFOPATH and MANPATH not set in profiles
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
37790: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=37790
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Morgan Smith <Morgan.J.Smith <at> outlook.com>
To: bug-guix <at> gnu.org
Subject: INFOPATH and MANPATH not set in profiles
Date: Sat, 03 Jul 2021 09:54:17 -0400
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




[Message part 3 (message/rfc822, inline)]
From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Pierre Neidhardt <mail <at> ambrevar.xyz>
Cc: Ludovic Courtès <ludo <at> gnu.org>,
 37790-close <at> debbugs.gnu.org
Subject: Re: bug#37790: MANPATH missing from non-default profile
Date: Thu, 03 Mar 2022 01:24:59 -0500
tags 37790 notabug
thanks

Hi,

Pierre Neidhardt <mail <at> ambrevar.xyz> writes:

> Ludovic Courtès <ludo <at> 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


This bug report was last modified 3 years and 133 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.