[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Guix package steps
From: |
Mark H Weaver |
Subject: |
Re: Guix package steps |
Date: |
Tue, 16 Jun 2015 23:57:30 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Daniel Pimentel <address@hidden> 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