From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: Guix package steps Date: Tue, 16 Jun 2015 23:57:30 -0400 Message-ID: <87r3pbdm1h.fsf@netris.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43732) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z54U0-0005ox-N9 for guix-devel@gnu.org; Tue, 16 Jun 2015 23:57:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z54Tw-0007X4-Gi for guix-devel@gnu.org; Tue, 16 Jun 2015 23:57:48 -0400 Received: from world.peace.net ([50.252.239.5]:41705) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z54Tw-0007Wu-Cu for guix-devel@gnu.org; Tue, 16 Jun 2015 23:57:44 -0400 In-Reply-To: (Daniel Pimentel's message of "Tue, 16 Jun 2015 21:15:31 -0300") 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: Daniel Pimentel Cc: guix-devel@gnu.org Daniel Pimentel writes: > I tried create new packages (ipcalc, nmap, xfburn and others) but > without success. > > My steps (based on talk GNU Guix packaging by Andreas Enge): > 0. Git clone guix repository by savannah; > 1. Copy gnu/package/indent.scm to mypackage.scm in this same folder; > 2. Add module to gnu-system.am > 3. Download mypackage; > 4. Edit mypackage.scm and add hash, license and other information; > 5. ./pre-inst-env guix build mypackage -K > 6. Erro: bash: ./pre-inst-env: No such file or directory > > But there is pre-inst-env.in only. The script pre-inst-env not exist > in repository. So where is pre-inst-env? You have to build guix before you can run it. See doc/contributing.texi, especially the "Building from Git" section. Also, you should pass --localstatedir=/var to ./configure. Mark