unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#66757: missing INFOPATH for some packages (Git, Coreutils)
@ 2023-10-26  8:11 Simon Tournier
  2023-10-27  2:32 ` John Kehayias via Bug reports for GNU Guix
  0 siblings, 1 reply; 3+ messages in thread
From: Simon Tournier @ 2023-10-26  8:11 UTC (permalink / raw)
  To: 66757

Hi,

Is it expected

--8<---------------cut here---------------start------------->8---
$ 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"
--8<---------------cut here---------------end--------------->8---

?  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




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#66757: missing INFOPATH for some packages (Git, Coreutils)
  2023-10-26  8:11 bug#66757: missing INFOPATH for some packages (Git, Coreutils) Simon Tournier
@ 2023-10-27  2:32 ` John Kehayias via Bug reports for GNU Guix
  2023-10-27  9:08   ` Simon Tournier
  0 siblings, 1 reply; 3+ messages in thread
From: John Kehayias via Bug reports for GNU Guix @ 2023-10-27  2:32 UTC (permalink / raw)
  To: Simon Tournier; +Cc: 66757

Hello,

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

> 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.

> $ 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).

> 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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#66757: missing INFOPATH for some packages (Git, Coreutils)
  2023-10-27  2:32 ` John Kehayias via Bug reports for GNU Guix
@ 2023-10-27  9:08   ` Simon Tournier
  0 siblings, 0 replies; 3+ messages in thread
From: Simon Tournier @ 2023-10-27  9:08 UTC (permalink / raw)
  To: John Kehayias; +Cc: 66757

Hi,

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

> 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.

> (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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-10-27  9:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-26  8:11 bug#66757: missing INFOPATH for some packages (Git, Coreutils) Simon Tournier
2023-10-27  2:32 ` John Kehayias via Bug reports for GNU Guix
2023-10-27  9:08   ` Simon Tournier

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).