From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id eB5iEbm68V4+ewAA0tVLHw (envelope-from ) for ; Tue, 23 Jun 2020 08:18:01 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id wLVKDbm68V4OVQAAB5/wlQ (envelope-from ) for ; Tue, 23 Jun 2020 08:18:01 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 93AFA94030E for ; Tue, 23 Jun 2020 08:18:00 +0000 (UTC) Received: from localhost ([::1]:49590 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jne7z-0003NZ-GG for larch@yhetil.org; Tue, 23 Jun 2020 04:17:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52958) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jne7q-0003NR-TK for guix-devel@gnu.org; Tue, 23 Jun 2020 04:17:50 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58323) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jne7p-0007Jr-5H; Tue, 23 Jun 2020 04:17:49 -0400 Received: from [2a01:e0a:fa:a50:34a1:eac3:9800:4a6e] (port=44672 helo=meru) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jne7o-0005R3-LH; Tue, 23 Jun 2020 04:17:48 -0400 From: Mathieu Othacehe To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: Providing a Guix System images catalog. References: <875zckvxp3.fsf@gnu.org> <871rn7hhl6.fsf@gnu.org> <87pnarr7ka.fsf@gnu.org> Date: Tue, 23 Jun 2020 10:17:46 +0200 In-Reply-To: <87pnarr7ka.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 26 May 2020 00:08:53 +0200") Message-ID: <87d05qdwlx.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: z7OmAMtxE1mT Hello, >> I wonder about how this composes; if I'd want to add say a guix-daemon >> service to the bare-hurd, how would I do that? > > How about leaving the =E2=80=98operating-system=E2=80=99 field of = to #f or some > default value, and then filling it in with the argument passed to =E2=80= =98guix > system=E2=80=99? > > Or better: at the API level, we=E2=80=99d look for an =E2=80=9Cimage cons= tructor=E2=80=9D (or > =E2=80=9Cimage type=E2=80=9D), not an image, where an image constructor i= s a procedure > that takes an and returns an . In practice, > you=E2=80=99d wrap that in with a =E2=80=98name=E2=80=99 fie= ld so you can still > look them up by name. Not sure to get what you mean after all. Could you maybe give a small example of what you had in mind with the image-type :) ? To give a short status on this one, * The "target" part was added as f292d4719dead6a615187f325fbc0bb0e99d10b4. * I proposed this serie https://issues.guix.gnu.org/41839, that creates a (gnu system image hurd) module for the purpose of CI. So we now have an record that contains all the required information to be built as a Guix System disk-image targeting a specific machine/architecture. I think it would make sense to be able to build images directly from the "guix system" command, but I'm not sure on how to make it composable with an operating-system file. =20=20 Feedback welcome :) Thanks, Mathieu