From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: Creating new package for Guix - newbie's question Date: Sun, 12 Jun 2016 21:19:04 -0400 Message-ID: <20160613011904.GB13522@jasmine> References: <5fa1df57607f64fe3ea0890f5ff75674@goritskov.com> <87y46af6cq.fsf@mailerver.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51423) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCGXA-0002dp-Mg for help-guix@gnu.org; Sun, 12 Jun 2016 21:19:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bCGX6-0000YT-CU for help-guix@gnu.org; Sun, 12 Jun 2016 21:19:20 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:38899) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCGX4-0000X8-3A for help-guix@gnu.org; Sun, 12 Jun 2016 21:19:16 -0400 Content-Disposition: inline In-Reply-To: <87y46af6cq.fsf@mailerver.i-did-not-set--mail-host-address--so-tickle-me> 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: Matthew Jordan Cc: Help Guix On Sun, Jun 12, 2016 at 05:24:37PM -0400, Matthew Jordan wrote: > Here is what I do atm for developing packages. That is a very complete list of things to do :) > Build > $ ./bootstrap > $ ./configure --localstate=/var That should be --localstatedir=/var > $ make > $ make check It should be enough to bootstrap, configure, and make check from the Git checkout, and then this... > $ ./pre-inst-env guix build hello &>/dev/stdout &>${BUILD_LOG} ... should be enough to get you started. Although, you don't need to create your own build log. It is made available with `guix build --log-file`. Making your own log is useful if you want to capture the log of a failing build. If you don't have all the dependencies you need to `make` Guix, do `guix environment guix` to add the dependencies of Guix to your environment. > $ ./pre-inst-env guix lint hello Please do this before sending the patch to guix-devel ;)