all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: Matthew Jordan <matthewjordandevops@yandex.com>
Cc: Help Guix <help-guix@gnu.org>
Subject: Re: Creating new package for Guix - newbie's question
Date: Sun, 12 Jun 2016 21:19:04 -0400	[thread overview]
Message-ID: <20160613011904.GB13522@jasmine> (raw)
In-Reply-To: <87y46af6cq.fsf@mailerver.i-did-not-set--mail-host-address--so-tickle-me>

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 ;)

  reply	other threads:[~2016-06-13  1:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-12 20:08 Creating new package for Guix - newbie's question Rodion Goritskov
2016-06-12 21:24 ` Matthew Jordan
2016-06-13  1:19   ` Leo Famulari [this message]
2016-06-13 13:37   ` d4n1

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160613011904.GB13522@jasmine \
    --to=leo@famulari.name \
    --cc=help-guix@gnu.org \
    --cc=matthewjordandevops@yandex.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.