From: Alex Kost <alezost@gmail.com>
To: Marius Bakke <mbakke@fastmail.com>
Cc: Guix-devel <Guix-devel@gnu.org>
Subject: Re: How to use "every"?
Date: Fri, 09 Sep 2016 22:12:49 +0300 [thread overview]
Message-ID: <87eg4szy32.fsf@gmail.com> (raw)
In-Reply-To: <87vay5qkwk.fsf@ike.i-did-not-set--mail-host-address--so-tickle-me> (Marius Bakke's message of "Fri, 09 Sep 2016 14:10:03 +0100")
Marius Bakke (2016-09-09 14:10 +0100) wrote:
> Danny Milosavljevic <dannym@scratchpost.org> writes:
>
>> Hi,
>>
>> how do I use "every" in a guix package declaration?
>>
>> When I add #:modules (sfri sfri-1) I get a message that guix-build is
>> undefined (?).
>
> I think when setting #:modules, you also have to specify the
> "expected" ones, i.e. it will override the defaults rather than append.
Yes, you are absolutely right.
Danny, if you look at 'gnu-build' procedure in (guix build-system gnu)
module, you can see that the default value for 'modules' keyword is
'%default-modules' defined earlier in this module, so as Marius wrote,
when you specify #:modules argument in a package declaration, you have
to specify these default modules along with the additional ones.
> So argument would be:
>
> #:modules ((srfi srfi-1)
> (guix build gnu-build-system)
> (guix build utils))
>
> But I am pretty new to Guile and Guix, so take it with a grain of salt.
--
Alex
prev parent reply other threads:[~2016-09-09 19:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-09 13:01 How to use "every"? Danny Milosavljevic
2016-09-09 13:10 ` Marius Bakke
2016-09-09 19:12 ` Alex Kost [this message]
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=87eg4szy32.fsf@gmail.com \
--to=alezost@gmail.com \
--cc=Guix-devel@gnu.org \
--cc=mbakke@fastmail.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.