GNU bug report logs -
#41666
$INFOPATH should end with a colon
Previous Next
Reported by: Jonas Bernoulli <jonas <at> bernoul.li>
Date: Tue, 2 Jun 2020 17:46:01 UTC
Severity: normal
Done: Tobias Geerinckx-Rice <me <at> tobias.gr>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 41666 in the body.
You can then email your comments to 41666 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#41666
; Package
guix
.
(Tue, 02 Jun 2020 17:46:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jonas Bernoulli <jonas <at> bernoul.li>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Tue, 02 Jun 2020 17:46:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
On a foreign distro Guix installs /etc/profile.d/guix.sh, which among
other things adds the directory where it installs info pages to the
INFOPATH variable.
It takes care to not accidentally cause the value to end with a colon.
Unfortunately it should do the opposite because a trailing colon means
"... and also the default locations", which is highly desirable.
This is documented in (info "(texinfo)Other Info Directories"):
> However you set 'INFOPATH', if its last character is a colon (on
> MS-DOS/MS-Windows systems, use a semicolon instead), this is replaced by
> the default (compiled-in) path. This gives you a way to augment the
> default path with new directories without having to list all the
> standard places. For example (using 'sh' syntax):
>
> INFOPATH=/home/bob/info:
> export INFOPATH
>
> will search '/home/bob/info' first, then the standard directories.
> Leading or doubled colons are not treated specially.
I recommend you just make this simple change:
- export INFOPATH="$_GUIX_PROFILE/share/info${INFOPATH:+:}$INFOPATH"
+ export INFOPATH="$_GUIX_PROFILE/share/info$:$INFOPATH"
If INFOPATH is already set and does not end with a colon, then that
should be left as-is; it might be intentional.
bug closed, send any further explanations to
41666 <at> debbugs.gnu.org and Jonas Bernoulli <jonas <at> bernoul.li>
Request was from
Tobias Geerinckx-Rice <me <at> tobias.gr>
to
control <at> debbugs.gnu.org
.
(Tue, 02 Jun 2020 18:08:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#41666
; Package
guix
.
(Tue, 02 Jun 2020 18:16:01 GMT)
Full text and
rfc822 format available.
Message #10 received at 41666 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Jonas,
Jonas Bernoulli 写道:
> On a foreign distro Guix installs /etc/profile.d/guix.sh, which
> among
> other things adds the directory where it installs info pages to
> the
> INFOPATH variable.
Thanks for the report!
New installations (after 21 March) should not have this problem[0]
so I've closed & merged your bug with that one.
It's safe to manually fix your local copy of ‘guix.sh’. It was
created by guix-install.sh, but Guix doesn't know about or touch
it.
Kind regards,
T G-R
[0]: https://issues.guix.gnu.org/39984
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 01 Jul 2020 11:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 349 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.