[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to use "every"?
From: |
Alex Kost |
Subject: |
Re: How to use "every"? |
Date: |
Fri, 09 Sep 2016 22:12:49 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (gnu/linux) |
Marius Bakke (2016-09-09 14:10 +0100) wrote:
> Danny Milosavljevic <address@hidden> 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