missing INFOPATH for some packages (Git, Coreutils)

  • Open
  • quality assurance status badge
Details
2 participants
  • John Kehayias
  • Simon Tournier
Owner
unassigned
Submitted by
Simon Tournier
Severity
normal
S
S
Simon Tournier wrote on 26 Oct 2023 10:11
(address . bug-guix@gnu.org)
87fs1xhkgf.fsf@gmail.com
Hi,

Is it expected

Toggle snippet (10 lines)
$ guix shell -C git coreutils
[env]$ ls $GUIX_ENVIRONMENT/share/info
coreutils.info.gz dir git.info.gz gitman.info.gz

/tmp/some-dir [env]$ exit
$ guix shell -C git coreutils --search-paths
export PATH="/gnu/store/jigy78ai2asmgwhxpxzq2dhqhqi8c4p6-profile/bin${PATH:+:}$PATH"
export GIT_EXEC_PATH="/gnu/store/jigy78ai2asmgwhxpxzq2dhqhqi8c4p6-profile/libexec/git-core"

? I was expecting an INFOPATH in the search path.

Well, it appears to me a bug but if I am missing something, feel free to
point me what :-) and then close.


Cheers,
simon
J
J
John Kehayias wrote on 27 Oct 2023 04:32
(name . Simon Tournier)(address . zimon.toutoune@gmail.com)(address . 66757@debbugs.gnu.org)
87cyx023to.fsf@protonmail.com
Hello,

On Thu, Oct 26, 2023 at 10:11 AM, Simon Tournier wrote:

Toggle quote (10 lines)
> Hi,
>
> Is it expected
>
> $ guix shell -C git coreutils
> [env]$ ls $GUIX_ENVIRONMENT/share/info
> coreutils.info.gz dir git.info.gz gitman.info.gz
>
> /tmp/some-dir [env]$ exit

Well there's no info-reader right? So doing "info git" errors with no
"info" found.

Toggle quote (7 lines)
> $ guix shell -C git coreutils --search-paths
> export PATH="/gnu/store/jigy78ai2asmgwhxpxzq2dhqhqi8c4p6-profile/bin${PATH:+:}$PATH"
> export GIT_EXEC_PATH="/gnu/store/jigy78ai2asmgwhxpxzq2dhqhqi8c4p6-profile/libexec/git-core"
>
> ? I was expecting an INFOPATH in the search path.
>

If you add info-reader to the packages I get an INFOPATH search-path
(and of course then an info command is available and works).

Toggle quote (7 lines)
> Well, it appears to me a bug but if I am missing something, feel free to
> point me what :-) and then close.
>
>
> Cheers,
> simon

So I think it is just that you didn't have the "consumer" of the
search-path, the package info-reader, in the profile. That seems like
the expected functionality of search-path but maybe I'm missing
something? Not closing in case it is me not you :)

(as an aside, I never remember the package for the same thing with
man...)

John
S
S
Simon Tournier wrote on 27 Oct 2023 11:08
(name . John Kehayias)(address . john.kehayias@protonmail.com)(address . 66757@debbugs.gnu.org)
86bkcka0vi.fsf@gmail.com
Hi,

On Fri, 27 Oct 2023 at 02:32, John Kehayias via Bug reports for GNU Guix <bug-guix@gnu.org> wrote:

Toggle quote (5 lines)
> So I think it is just that you didn't have the "consumer" of the
> search-path, the package info-reader, in the profile. That seems like
> the expected functionality of search-path but maybe I'm missing
> something? Not closing in case it is me not you :)

Aah… yes! Thanks.

Well, I have various profiles, for instance, coreutils is in one profile
and info-reader is in another. That’s why it appears to me unexpected.

Toggle quote (3 lines)
> (as an aside, I never remember the package for the same thing with
> man...)

That’s man-db. :-)

Well I am closing as ’notabug’; although when using Guix as environment
manager on foreign distro in some scientific context, it means that I
have to pass info-reader and man-db to all my profiles around when
working on some specific project.

Cheers,
simon
S
S
Simon Tournier wrote on 27 Oct 2023 11:07
control message for bug #66757
(address . control@debbugs.gnu.org)
86h6mca0xm.fsf@gmail.com
tags 66757 + notabug
quit
?