From mboxrd@z Thu Jan 1 00:00:00 1970 From: myglc2@gmail.com Subject: Re: How do I check out a package w/o installing it? Date: Mon, 29 Jan 2018 19:47:41 -0500 Message-ID: <86tvv4w4sy.fsf@gmail.com> References: <86r2q8o5hj.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57694) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1egK5T-0003oP-Gg for help-guix@gnu.org; Mon, 29 Jan 2018 19:47:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1egK5Q-0003yD-EY for help-guix@gnu.org; Mon, 29 Jan 2018 19:47:47 -0500 Received: from mail-qk0-x22a.google.com ([2607:f8b0:400d:c09::22a]:35310) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1egK5Q-0003xv-9N for help-guix@gnu.org; Mon, 29 Jan 2018 19:47:44 -0500 Received: by mail-qk0-x22a.google.com with SMTP id d80so8052587qkg.2 for ; Mon, 29 Jan 2018 16:47:44 -0800 (PST) In-Reply-To: (David Thompson's message of "Mon, 29 Jan 2018 15:46:52 -0500") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" 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 wrote: >> George myglc2 Clemmer 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