From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37740) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dKW2J-0006CO-O6 for guix-patches@gnu.org; Mon, 12 Jun 2017 16:34:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dKW2E-00005w-Mi for guix-patches@gnu.org; Mon, 12 Jun 2017 16:34:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:41400) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dKW2E-00005p-IZ for guix-patches@gnu.org; Mon, 12 Jun 2017 16:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dKW2E-0000ck-9R for guix-patches@gnu.org; Mon, 12 Jun 2017 16:34:02 -0400 Subject: [bug#26339] [PATCH] scripts: system: Handle unspecified bootloader package and installer. Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20170402134916.2871-1-m.othacehe@gmail.com> <20170521135715.14374-1-m.othacehe@gmail.com> Date: Mon, 12 Jun 2017 22:32:50 +0200 In-Reply-To: <20170521135715.14374-1-m.othacehe@gmail.com> (Mathieu Othacehe's message of "Sun, 21 May 2017 15:57:15 +0200") Message-ID: <87h8zl3q19.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Mathieu Othacehe Cc: 26339@debbugs.gnu.org Mathieu Othacehe skribis: > * guix/scripts/system.system (perform-action): If bootloader installer or > bootloader package are #f, do not add them to drvs but keep things goin= g. > > This allows to write (installer #f) or (package #f) in > definition. > > Reported-by: Cl=C3=A9ment Lassieur . What=E2=80=99s the point of setting these to #f? If really needed, I would rather set them to (const #f) and avoid the special case in (guix scripts system). WDYT? Ludo=E2=80=99.