GNU bug report logs -
#37790
MANPATH missing from non-default profile
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 37790 in the body.
You can then email your comments to 37790 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#37790
; Package
guix
.
(Thu, 17 Oct 2019 12:59:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Pierre Neidhardt <mail <at> ambrevar.xyz>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Thu, 17 Oct 2019 12:59:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
`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.
Thoughts?
--
Pierre Neidhardt
https://ambrevar.xyz/
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#37790
; Package
guix
.
(Thu, 17 Oct 2019 14:56:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 37790 <at> debbugs.gnu.org (full text, mbox):
Hi Pierre,
Pierre Neidhardt <mail <at> ambrevar.xyz> 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’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#37790
; Package
guix
.
(Thu, 17 Oct 2019 15:12:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 37790 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
> As usual, ‘MANPATH’ is only defined when ‘man-db’ is also present in the
> profile, since ‘MANPATH’ “belongs” to ‘man-db’.
Indeed, but I'm suggesting we add an exception for the sake of
convenience and consistency:
- The default profile ~/.guix-profile is added, man-db or not.
- It's seems a bit unfortunate that all my profiles need to have man-db
in it.
What do you think?
--
Pierre Neidhardt
https://ambrevar.xyz/
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#37790
; Package
guix
.
(Thu, 17 Oct 2019 16:18:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 37790 <at> debbugs.gnu.org (full text, mbox):
Pierre Neidhardt <mail <at> ambrevar.xyz> skribis:
>> As usual, ‘MANPATH’ is only defined when ‘man-db’ is also present in the
>> profile, since ‘MANPATH’ “belongs” to ‘man-db’.
>
> Indeed, but I'm suggesting we add an exception for the sake of
> convenience and consistency:
I agree it’s inconvenient, but how would you add an exception?
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#37790
; Package
guix
.
(Fri, 18 Oct 2019 08:21:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 37790 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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=...?
--
Pierre Neidhardt
https://ambrevar.xyz/
[signature.asc (application/pgp-signature, inline)]
Merged 37790 49353.
Request was from
Morgan Smith <morgan.j.smith <at> outlook.com>
to
control <at> debbugs.gnu.org
.
(Sun, 24 Oct 2021 11:31:01 GMT)
Full text and
rfc822 format available.
Reply sent
to
Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
:
You have taken responsibility.
(Thu, 03 Mar 2022 06:26:03 GMT)
Full text and
rfc822 format available.
Notification sent
to
Pierre Neidhardt <mail <at> ambrevar.xyz>
:
bug acknowledged by developer.
(Thu, 03 Mar 2022 06:26:03 GMT)
Full text and
rfc822 format available.
Message #24 received at 37790-close <at> debbugs.gnu.org (full text, mbox):
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
Reply sent
to
Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
:
You have taken responsibility.
(Thu, 03 Mar 2022 06:26:03 GMT)
Full text and
rfc822 format available.
Notification sent
to
Morgan Smith <Morgan.J.Smith <at> outlook.com>
:
bug acknowledged by developer.
(Thu, 03 Mar 2022 06:26:03 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#37790
; Package
guix
.
(Thu, 03 Mar 2022 08:34:01 GMT)
Full text and
rfc822 format available.
Message #32 received at 37790 <at> debbugs.gnu.org (full text, mbox):
Hi Maxim,
On Thu, 3 Mar 2022 at 07:26, Maxim Cournoyer <maxim.cournoyer <at> gmail.com> wrote:
> tags 37790 notabug
From my understanding, it is a "bug" as explained here:
1: <https://issues.guix.gnu.org/37790#2>
Or at least an inconvenient behaviour. :-)
> >> 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.
It appears to me the contrary, no? That ~/.guix-profile is special here.
Well, using a multi-profiles style management, it appears to me
adequate to install "man" (or man-db) once, i.e., in one profile say
~/.cache/guix/profiles/utilities, and then install other packages, say
git, in another profile, say ~/, .cache/guix/profiles/tools, etc.
With the current design, each profile other than ~/.guix-profile
requires 'man-db' which seems unfortunate, non?
Cheers,
simon
Information forwarded
to
bug-guix <at> gnu.org
:
bug#37790
; Package
guix
.
(Thu, 03 Mar 2022 08:34:01 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#37790
; Package
guix
.
(Thu, 03 Mar 2022 14:06:01 GMT)
Full text and
rfc822 format available.
Message #38 received at 37790 <at> debbugs.gnu.org (full text, mbox):
Hi Simon,
zimoun <zimon.toutoune <at> gmail.com> writes:
> Hi Maxim,
>
> On Thu, 3 Mar 2022 at 07:26, Maxim Cournoyer <maxim.cournoyer <at> gmail.com> wrote:
>
>> tags 37790 notabug
>
> From my understanding, it is a "bug" as explained here:
>
> 1: <https://issues.guix.gnu.org/37790#2>
>
> Or at least an inconvenient behaviour. :-)
Sorry, I fail to see where is the bug :-). This is our the search-path
specifications have always worked; they work per profile and are
attached to the application acting as the "consumer" of the environment
variable it sets.
If we want to work on improving this we already have the following
issues opened awaiting work:
20255 'search-paths' should respect both user and system profile.
and somewhat related:
22138 Search paths of dependencies are not honored
Thanks,
Maxim
Information forwarded
to
bug-guix <at> gnu.org
:
bug#37790
; Package
guix
.
(Thu, 03 Mar 2022 14:06:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 01 Apr 2022 11:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 24 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.