Hi Danny,

Danny Milosavljevic <dan...@scratchpost.org> writes:

> On Mon, 29 Jan 2018 14:53:03 +0100
> l...@gnu.org (Ludovic Courtès) wrote:
>
>> dan...@scratchpost.org (Danny Milosavljevic) skribis:
>> 
>> > commit ebd6a6445fa7d3db64795840a607815abbd56880
>> > Author: Danny Milosavljevic <dan...@scratchpost.org>
>> > Date:   Mon Jan 29 13:23:07 2018 +0100
>> >
>> >     hydra: Work around import problem.
>> >     
>> >     * build-aux/hydra/gnu-system.scm: qemu-jobs: Work around import 
>> > problem.
>> >     
>> >     Follow-up to 1fe805b290f26db477bcd49be91af54f6c5d061f.
>> > ---
>> >  build-aux/hydra/gnu-system.scm | 2 +-
>> >  1 file changed, 1 insertion(+), 1 deletion(-)
>> >
>> > diff --git a/build-aux/hydra/gnu-system.scm 
>> > b/build-aux/hydra/gnu-system.scm
>> > index 46f09d1..0886d5f 100644
>> > --- a/build-aux/hydra/gnu-system.scm
>> > +++ b/build-aux/hydra/gnu-system.scm
>> > @@ -166,7 +166,7 @@ system.")
>> >    (define (adjust-bootloader os)
>> >      (if (member system %u-boot-systems)
>> >        (operating-system (inherit os)
>> > -        (bootloader (bootloader-configuration
>> > +        (bootloader ((@ (gnu bootloader) bootloader-configuration)
>> >                       (bootloader u-boot-bootloader)
>> >                       (target "/dev/null"))))  
>> 
>> What was the problem exactly?  It’s best to add:
>> 
>>   (use-modules (gnu bootloader))
>> 
>> than to use ‘@’.
>> 
>> Ludo’.
>
> Previously, I had added (gnu bootloader) to the existing (use-modules) form
> in the file.  That got me this:
[...]
> In unknown file:
>            0 (%resolve-variable (7 . bootloader-configuration) #<mod?>)
>
> ERROR: In procedure %resolve-variable:
> ERROR: bootloader-configuration: unbound variable

I strongly suspect that this evaluation error occurred for a commit
_before_ you added (use-modules (gnu bootloader)), unless you have
reason to believe otherwise.

      Mark

Reply via email to