Hi,

Jan Nieuwenhuizen <[email protected]> skribis:


[...]

> Now this
>
>     guix system build --target=i586-pc-gnu gnu/system/examples/bare-hurd.tmpl
>
> has some cross-build problems, though.  Yesterday I finally managed to
> pin-point the problem.  It lives between
> expression->derivation-in-linux-vm
>
> (define* (expression->derivation-in-linux-vm name exp
>                                              #:key
>                                              (system (%current-system)) target
>                                              (linux linux-libre)
> ...
>
> that is called by qemu-image.  So I have been playing with this hack

Ah, so there was a #$ vs. #+ issue we discussed on IRC.  Did that help?

> Meanwhile there is the vm-image question: can we somehow use
> expression->derivation-in-linux-vm when running "guix system
> ... --target=i586-pc-gnu"?  Or do we want to create a
> expression->derivation-in-hurd-vm?

The VM is used just to create the image (it will no longer be necessary
once Mathieu’s work on image creation has landed).  The fact that it
runs Linux doesn’t matter.

>>> +   (default-value (hurd-console-configuration))))
>>
>> Please add a ‘description’ too!
>
> For the default value?

No, I meant a ‘description’ field.

Thanks!

Ludo’.

Reply via email to