From debbugs-submit-bounces@debbugs.gnu.org Thu May 12 06:38:34 2022 Received: (at 55227) by debbugs.gnu.org; 12 May 2022 10:38:34 +0000 Received: from localhost ([127.0.0.1]:39761 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1np6DJ-00022m-PF for submit@debbugs.gnu.org; Thu, 12 May 2022 06:38:34 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34540) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1np6DH-00022V-Nc for 55227@debbugs.gnu.org; Thu, 12 May 2022 06:38:32 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:33184) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1np6DA-0002Jj-Od; Thu, 12 May 2022 06:38:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=CD9JVoPuWNTgsZwi9/J3k0/UbSZ1v2CqvavYGuLKZ6k=; b=lb33svE3qRHBAr2rDe9d MPyhrPzXN1vnwegR1UNw4th2KOG+ISiyEUXuFxNlepxCc2QvmsX5dD8EghlTXc/C4ecGiED+TsHMn nKKPOuYs5XPK3qus3L0tGYVuV/iJQj/C0CWy1phjUPm4W2ewcyOFJQ2Opue/3O7JAIx7O8yQKDGLC N/o+aoKVbfJGw0Mw9z79JbjULpVgzGEXspE00k4bEgt5a0r3uLe5mieTuC/WZGF31tIq4fozapzBZ 14OaMP2GYhDRRIWsDadOdI5IH9GU8WdZwJfdsj9bD3g1/NOIb0DmEby8PGbsFrjmr01eFr2XOzOdu GZfH1dv7BW0KGg==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=44926 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1np6D8-0003ae-4K; Thu, 12 May 2022 06:38:22 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "Jan (janneke) Nieuwenhuizen" Subject: Re: bug#55227: [PATCH core-updates 0/8] The Full Source Bootstrap References: <20220502182105.32068-1-janneke@gnu.org> <20220502182434.32130-1-janneke@gnu.org> Date: Thu, 12 May 2022 12:38:20 +0200 In-Reply-To: <20220502182434.32130-1-janneke@gnu.org> (Jan Nieuwenhuizen's message of "Mon, 2 May 2022 20:24:27 +0200") Message-ID: <87r14zkpcz.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55227 Cc: 55227@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi! Starting a dive through this amazing patch series=E2=80=A6 "Jan (janneke) Nieuwenhuizen" skribis: > * gnu/packages/commencement.scm (bootstrap-seeds): New variable. [...] > + (source > + (bootstrap-origin You can remove the =E2=80=98bootstrap-origin=E2=80=99 call: it=E2=80=99s on= ly useful when there are patches or snippets. > + (origin > + (method url-fetch) > + (uri (string-append > + "https://lilypond.org/janneke/guix/20220501/" > + "bootstrap-seeds-" version ".tar.gz")) You can add a mirror://gnu/guix/mirror URL and we=E2=80=99ll copy it to ftp.gnu.org. > + (native-inputs `(("bootar" ,bootar))) -> (list boottar) > + (build-system trivial-build-system) > + (arguments > + `(#:guile ,%bootstrap-guile > + #:modules ((guix build utils)) > + #:builder > + (begin > + (use-modules (guix build utils)) > + (let ((source (assoc-ref %build-inputs "source")) > + (tar (assoc-ref %build-inputs "bootar")) > + (out (assoc-ref %outputs "out"))) You can make it a gexp like so: (arguments (list #:guile =E2=80=A6 #:builder #~(begin (use-modules =E2=80=A6) (let ((source #$(package-source this-package)) (tar #$(this-package-input "boottar")) (out #$output)) =E2=80=A6)))) > + (setenv "PATH" (string-append tar "/bin:")) > + (invoke "tar" "xvf" source) > + (mkdir-p out) > + (copy-recursively "bootstrap-seeds" out) > + #t)))) You can remove the trailing #t. > + (description > + "A prebuilt version of the initial bootstrap seeds. It contains a The first thing could be a sentence, say: =E2=80=9CThis package provides pre-built binaries of the bootstrap seeds.=E2=80=9D > +hex0-seed and an optional kaem-minimal shell. The size of the hex0 seed= s are > +for knight: 250 bytes, x86-linux:(357 bytes, x86_64-linux: 431 bytes, and ^ Extra paren. Ludo=E2=80=99.