I got it working by using

    (bootloader (bootloader-configuration
                 (bootloader grub-efi-bootloader)
                 (target "noop")))

    (file-systems (list (file-system
                         (device "noop")
                         (mount-point "/")
                         (type "noop"))))


Your suggestion seems to be working for (file-systems) but not (bootloader):

    Wrong type argument in position 1 (expecting struct): #f


Le mer. 15 janv. 2020 à 21:19, Julien Lepiller <jul...@lepiller.eu> a
écrit :

> Le 15 janvier 2020 15:01:18 GMT-05:00, Josh Marshall <
> joshua.r.marshall.1...@gmail.com> a écrit :
> >I'll second this.  It is one of my expected use cases.
> >
> >On Wed, Jan 15, 2020, 13:32 Jimmy Thrasibule
> ><jimmy.thrasib...@gmail.com>
> >wrote:
> >
> >> Hi,
> >>
> >> I'm trying to use Guix in order to create a Docker image. However,
> >I'm
> >> forced to set both ``bootloader`` and ``file-systems`` initializers:
> >>
> >>     system.scm:29:0: error: missing field initializers (bootloader
> >> file-systems)
> >>
> >> For a Docker image this is quite unexpected. I'm wondering whether
> >there is
> >> a way to bypass this limitation?
> >>
> >> Regards,
> >> Jimmy
> >>
>
> Not sure if that will work, but have you tried:
>
> (bootloader #f)
> (file-systems '())
>
> ?
>
>

Reply via email to