From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: getting started test-building packages without breaking the system profile? Date: Mon, 7 Dec 2015 15:11:53 -0500 Message-ID: <20151207201153.GA29733@jasmine> References: <20151207185451.GA4064@debian> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33904) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a628c-0005H2-C5 for guix-devel@gnu.org; Mon, 07 Dec 2015 15:11:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a628X-0008Fo-H5 for guix-devel@gnu.org; Mon, 07 Dec 2015 15:11:58 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:34247) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a628X-0008Fi-AP for guix-devel@gnu.org; Mon, 07 Dec 2015 15:11:53 -0500 Content-Disposition: inline In-Reply-To: <20151207185451.GA4064@debian> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Andreas Enge Cc: guix-devel On Mon, Dec 07, 2015 at 07:54:51PM +0100, Andreas Enge wrote: > On Mon, Dec 07, 2015 at 12:54:53PM -0500, anonymiss wrote: > > I've read https://www.gnu.org/software/guix/manual/html_node/ > > Packaging-Guidelines.html and I am done with the gnunet-gtk.scm, at least as > > far as I can go without testing. > > It would be better to add the package to the existing gnunet.scm (which also > makes it easier to test, as there is no need to register a new file in > gnu-system.am). > > Is a separate package needed, or could the existing recipe be extended to > also build the gtk+ binaries? If there is no separate source, I think this > would be the preferred approach. > > > My question is, do I check out the guix.git for testing the package with > > ./pre-inst-env guix build $pkg-name --keep-failed > > or what is the general recommended process for this? > > This is how I work; in this way, you can provide a patch that applies > directly on top of master. A little more detail on how to do this because I can't find explicit instructions in the manual (although you should read section 2.2): http://zvfak.blogspot.com/2015/07/gnu-guix-for-easily-managing.html This assumes that you have a working Guix installation, installed from a binary tarball. > > Andreas > >