* How do I check out a package w/o installing it?
@ 2018-01-29 19:00 George myglc2 Clemmer
2018-01-29 19:20 ` Arun Isaac
0 siblings, 1 reply; 8+ messages in thread
From: George myglc2 Clemmer @ 2018-01-29 19:00 UTC (permalink / raw)
To: help-guix
I tried to use 'guix environment' to check out znc this way ...
guix environment --ad-hoc znc -- emacs -nw
I was disappointed when it produced an environment in which znc is not
shown as installed and the znc man is unavailable ...
g1@g1 ~ [env]$ which znc
/gnu/store/9g32caq0zi10m3mnydq76mkizpn7r2vd-profile/bin/znc
g1@g1 ~ [env]$ guix package -I | grep znc
g1@g1 ~ [env]$ man znc
No manual entry for znc
g1@g1 ~ [env]$
Is this how it works?
Is there a way to try out a package w/o installing it?
TIA - George
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How do I check out a package w/o installing it?
2018-01-29 19:00 How do I check out a package w/o installing it? George myglc2 Clemmer
@ 2018-01-29 19:20 ` Arun Isaac
2018-01-29 20:46 ` Thompson, David
0 siblings, 1 reply; 8+ messages in thread
From: Arun Isaac @ 2018-01-29 19:20 UTC (permalink / raw)
To: help-guix
George myglc2 Clemmer <myglc2@gmail.com> writes:
> I tried to use 'guix environment' to check out znc this way ...
>
> guix environment --ad-hoc znc -- emacs -nw
>
> the znc man is unavailable ...
I have been wondering the same. It would be nice if at least the man and
info documentation was available somehow. What needs to be done in this
regard?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How do I check out a package w/o installing it?
2018-01-29 19:20 ` Arun Isaac
@ 2018-01-29 20:46 ` Thompson, David
2018-01-30 0:47 ` myglc2
2018-01-31 5:14 ` Arun Isaac
0 siblings, 2 replies; 8+ messages in thread
From: Thompson, David @ 2018-01-29 20:46 UTC (permalink / raw)
To: Arun Isaac; +Cc: help-guix
On Mon, Jan 29, 2018 at 2:20 PM, Arun Isaac <arunisaac@systemreboot.net> wrote:
> George myglc2 Clemmer <myglc2@gmail.com> writes:
>
>> I tried to use 'guix environment' to check out znc this way ...
>>
>> guix environment --ad-hoc znc -- emacs -nw
>>
>> the znc man is unavailable ...
>
> I have been wondering the same. It would be nice if at least the man and
> info documentation was available somehow. What needs to be done in this
> regard?
If you want to use 'man', include the man-db package in your
environment. If you want to use 'info', include the info-reader
package (I think).
To be more general, there isn't any "magic" here. The znc package
includes man pages in its output directory, but 'man' won't know about
it unless it's on $MANPATH. In order to make Guix set the proper
MANPATH, you need to include man-db because that package is the one
that defines the native search path for MANPATH. Check out the man-db
package recipe in gnu/packages/man.scm to see how we encode these
details.
Hope this helps,
- Dave
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How do I check out a package w/o installing it?
2018-01-29 20:46 ` Thompson, David
@ 2018-01-30 0:47 ` myglc2
2018-01-30 1:16 ` Thompson, David
2018-01-31 5:14 ` Arun Isaac
1 sibling, 1 reply; 8+ messages in thread
From: myglc2 @ 2018-01-30 0:47 UTC (permalink / raw)
To: Thompson, David; +Cc: help-guix
On 01/29/2018 at 15:46 Thompson, David writes:
> On Mon, Jan 29, 2018 at 2:20 PM, Arun Isaac <arunisaac@systemreboot.net> wrote:
>> George myglc2 Clemmer <myglc2@gmail.com> writes:
>>
>>> I tried to use 'guix environment' to check out znc this way ...
>>>
>>> guix environment --ad-hoc znc -- emacs -nw
>>>
>>> the znc man is unavailable ...
>>
>> I have been wondering the same. It would be nice if at least the man and
>> info documentation was available somehow. What needs to be done in this
>> regard?
>
> If you want to use 'man', include the man-db package in your
> environment. If you want to use 'info', include the info-reader
> package (I think).
>
> To be more general, there isn't any "magic" here. The znc package
> includes man pages in its output directory, but 'man' won't know about
> it unless it's on $MANPATH. In order to make Guix set the proper
> MANPATH, you need to include man-db because that package is the one
> that defines the native search path for MANPATH. Check out the man-db
> package recipe in gnu/packages/man.scm to see how we encode these
> details.
>
> Hope this helps,
>
> - Dave
Thank you Dave! That does help ;-)
So 'guix package -i znc' implicitly adds man-db and info-reader.
Maybe 'guix environment --add-hoc znc' should do that too?
Does this merit submission to bug-guix or guix-devel?
TIA - George
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How do I check out a package w/o installing it?
2018-01-30 0:47 ` myglc2
@ 2018-01-30 1:16 ` Thompson, David
2018-01-30 1:42 ` George myglc2 Clemmer
0 siblings, 1 reply; 8+ messages in thread
From: Thompson, David @ 2018-01-30 1:16 UTC (permalink / raw)
To: myglc2; +Cc: help-guix
On Mon, Jan 29, 2018 at 7:47 PM, <myglc2@gmail.com> wrote:
>
> So 'guix package -i znc' implicitly adds man-db and info-reader.
>
> Maybe 'guix environment --add-hoc znc' should do that too?
Sorry, that's not quite right. Running 'guix package -i znc' will
install znc and *nothing* else. Only by additionally installing man-db
to your profile will you have MANPATH configured properly. 'guix
package' and 'guix environment' are consistent with each other since
they both use the same underlying profile management code.
Hope this clears things up further,
- Dave
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How do I check out a package w/o installing it?
2018-01-30 1:16 ` Thompson, David
@ 2018-01-30 1:42 ` George myglc2 Clemmer
2018-01-30 2:34 ` Oleg Pykhalov
0 siblings, 1 reply; 8+ messages in thread
From: George myglc2 Clemmer @ 2018-01-30 1:42 UTC (permalink / raw)
To: Thompson, David; +Cc: help-guix
On 01/30/2018 at 01:16 Thompson writes:
> On Mon, Jan 29, 2018 at 7:47 PM, <myglc2@gmail.com> wrote:
>>
>> So 'guix package -i znc' implicitly adds man-db and info-reader.
>>
>> Maybe 'guix environment --add-hoc znc' should do that too?
>
> Sorry, that's not quite right. Running 'guix package -i znc' will
> install znc and *nothing* else. Only by additionally installing man-db
> to your profile will you have MANPATH configured properly. 'guix
> package' and 'guix environment' are consistent with each other since
> they both use the same underlying profile management code.
>
> Hope this clears things up further,
>
> - Dave
Gee, that's not what I see here. I did 'guix package -i znc' and 'man
znc' become immediately available in all my sessions and man-db is not
in my profile ...
g1@g1 ~$ guix package -I | grep man-db
g1@g1 ~$ guix --version
guix (GNU Guix) 0.14.0.1050-2cdf1
BTW, I'm running GuixSD.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How do I check out a package w/o installing it?
2018-01-29 20:46 ` Thompson, David
2018-01-30 0:47 ` myglc2
@ 2018-01-31 5:14 ` Arun Isaac
1 sibling, 0 replies; 8+ messages in thread
From: Arun Isaac @ 2018-01-31 5:14 UTC (permalink / raw)
To: Thompson, David; +Cc: help-guix
"Thompson, David" <dthompson2@worcester.edu> writes:
> On Mon, Jan 29, 2018 at 2:20 PM, Arun Isaac <arunisaac@systemreboot.net> wrote:
>> George myglc2 Clemmer <myglc2@gmail.com> writes:
>>
>>> I tried to use 'guix environment' to check out znc this way ...
>>>
>>> guix environment --ad-hoc znc -- emacs -nw
>>>
>>> the znc man is unavailable ...
>>
>> I have been wondering the same. It would be nice if at least the man and
>> info documentation was available somehow. What needs to be done in this
>> regard?
>
> If you want to use 'man', include the man-db package in your
> environment. If you want to use 'info', include the info-reader
> package (I think).
>
> To be more general, there isn't any "magic" here. The znc package
> includes man pages in its output directory, but 'man' won't know about
> it unless it's on $MANPATH. In order to make Guix set the proper
> MANPATH, you need to include man-db because that package is the one
> that defines the native search path for MANPATH.
This makes sense. I also verified it, and it works for me. Thanks!
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2018-01-31 5:14 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-29 19:00 How do I check out a package w/o installing it? George myglc2 Clemmer
2018-01-29 19:20 ` Arun Isaac
2018-01-29 20:46 ` Thompson, David
2018-01-30 0:47 ` myglc2
2018-01-30 1:16 ` Thompson, David
2018-01-30 1:42 ` George myglc2 Clemmer
2018-01-30 2:34 ` Oleg Pykhalov
2018-01-31 5:14 ` Arun Isaac
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.