From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thompson, David" Subject: Re: How do I check out a package w/o installing it? Date: Mon, 29 Jan 2018 15:46:52 -0500 Message-ID: References: <86r2q8o5hj.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40218) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1egGKN-0004Zk-Cz for help-guix@gnu.org; Mon, 29 Jan 2018 15:46:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1egGKL-0002uu-UX for help-guix@gnu.org; Mon, 29 Jan 2018 15:46:54 -0500 Received: from mail-ua0-x230.google.com ([2607:f8b0:400c:c08::230]:38255) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1egGKL-0002uS-P4 for help-guix@gnu.org; Mon, 29 Jan 2018 15:46:53 -0500 Received: by mail-ua0-x230.google.com with SMTP id e25so5618812uan.5 for ; Mon, 29 Jan 2018 12:46:53 -0800 (PST) In-Reply-To: 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: Arun Isaac Cc: help-guix 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