From: ludo@gnu.org (Ludovic Courtès)
To: 30014@debbugs.gnu.org
Subject: bug#30014: MANPATH prefers system profile over user profile
Date: Sat, 13 Jan 2018 15:08:13 +0100 [thread overview]
Message-ID: <87o9lxonqq.fsf@gnu.org> (raw)
In-Reply-To: <871sj0407t.fsf@fastmail.com> (Marius Bakke's message of "Mon, 08 Jan 2018 20:30:46 +0100")
Marius Bakke <mbakke@fastmail.com> skribis:
> Chris Marusich <cmmarusich@gmail.com> writes:
>
>> Marius Bakke <mbakke@fastmail.com> writes:
>>
>>> MANPATH contains the system profile twice:
>>>
>>> /run/current-system/profile/share/man:/home/marius/.guix-profile/share/man:/run/current-system/profile/share/man
>>
>> I think this might be a duplicate of the following more general bug
>> ("Duplicate entries in various environment variables"):
>>
>> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=23118
>
> Ah, I was not aware of that one.
I think that one was related to gnome-terminal being wrapped.
The MANPATH issue is different: /etc/profile defines MANPATH
unconditionally (see (gnu system)), but then, when you have man-db in
the system profile (which is the case by default),
/run/current-system/profile/etc/profile also defines it, hence the
duplicate entry.
If we remove MANPATH from /etc/profile, ~/.guix-profile/share/man will
no longer be there, unless the user has explicitly installed man-db in
their profile.
I can’t think of a good solution here. Thoughts?
Ludo’.
prev parent reply other threads:[~2018-01-13 14:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-07 13:11 bug#30014: MANPATH prefers system profile over user profile Marius Bakke
2018-01-08 1:55 ` Chris Marusich
2018-01-08 19:30 ` Marius Bakke
2018-01-13 14:08 ` Ludovic Courtès [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o9lxonqq.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=30014@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).