unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: myglc2@gmail.com
To: "Thompson, David" <dthompson2@worcester.edu>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: How do I check out a package w/o installing it?
Date: Mon, 29 Jan 2018 19:47:41 -0500	[thread overview]
Message-ID: <86tvv4w4sy.fsf@gmail.com> (raw)
In-Reply-To: <CAJ=RwfYK7VYKz43Bo9B9btMhJNa5MJkhyV3zcnGEw_px8XTDjw@mail.gmail.com> (David Thompson's message of "Mon, 29 Jan 2018 15:46:52 -0500")

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

  reply	other threads:[~2018-01-30  0:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

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=86tvv4w4sy.fsf@gmail.com \
    --to=myglc2@gmail.com \
    --cc=dthompson2@worcester.edu \
    --cc=help-guix@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.
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).