From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jimmy Thrasibule Subject: Re: system docker-image needs file-system Date: Wed, 15 Jan 2020 23:43:25 +0100 Message-ID: References: <6508D976-7434-4D82-8B95-453A91920228@lepiller.eu> Reply-To: jimmy@thrasibule.mx Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:40398) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1irrNy-00076Y-Im for help-guix@gnu.org; Wed, 15 Jan 2020 17:43:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1irrNx-0000WU-BW for help-guix@gnu.org; Wed, 15 Jan 2020 17:43:38 -0500 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]:35906) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1irrNx-0000TN-4S for help-guix@gnu.org; Wed, 15 Jan 2020 17:43:37 -0500 Received: by mail-wr1-x432.google.com with SMTP id z3so17313800wru.3 for ; Wed, 15 Jan 2020 14:43:37 -0800 (PST) In-Reply-To: <6508D976-7434-4D82-8B95-453A91920228@lepiller.eu> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane-mx.org@gnu.org Sender: "Help-Guix" To: Julien Lepiller Cc: help-guix@gnu.org 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 =C3=A0 21:19, Julien Lepiller a =C3=A9crit : > Le 15 janvier 2020 15:01:18 GMT-05:00, Josh Marshall < > joshua.r.marshall.1991@gmail.com> a =C3=A9crit : > >I'll second this. It is one of my expected use cases. > > > >On Wed, Jan 15, 2020, 13:32 Jimmy Thrasibule > > > >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 '()) > > ? > >