From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39556) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dwl67-0004J5-IQ for guix-patches@gnu.org; Tue, 26 Sep 2017 04:20:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dwl62-0000ca-Lz for guix-patches@gnu.org; Tue, 26 Sep 2017 04:20:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:50941) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dwl62-0000cV-IO for guix-patches@gnu.org; Tue, 26 Sep 2017 04:20:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dwl62-0004lc-Br for guix-patches@gnu.org; Tue, 26 Sep 2017 04:20:02 -0400 Subject: [bug#28487] [PATCH] cuirass: Add gnu-system build spec. Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20170917201157.9802-1-janneke@gnu.org> <20170917201157.9802-5-janneke@gnu.org> Date: Tue, 26 Sep 2017 10:18:44 +0200 In-Reply-To: <20170917201157.9802-5-janneke@gnu.org> (Jan Nieuwenhuizen's message of "Sun, 17 Sep 2017 22:11:57 +0200") Message-ID: <87zi9h27q3.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: Jan Nieuwenhuizen Cc: 28487@debbugs.gnu.org Hello! Jan Nieuwenhuizen skribis: > * build-aux/cuirass/gnu-system.scm: New file. Combines > build-aux/hydra/gnu-system.scm, guix-cuirass/examples/gnu-system.scm and = supports > building a named subset. > > (let ((spec #~((#:name . "guix") > (#:url . "git://git.savannah.gnu.org/guix.git") > (#:load-path . ".") > (#:file . "build-aux/cuirass/gnu-system.scm") > (#:proc . hydra-jobs) > (#:arguments (subset . ("hello" "grep"))) > (#:branch . "master")))) > (service cuirass-service-type > (cuirass-configuration > (specifications #~(list '#$spec))))) I like this but=E2=80=A6 while we=E2=80=99re at it, could we arrange to hav= e a single file that works for both Hydra and Cuirass? Concretely, we currently have these two files: https://git.savannah.gnu.org/cgit/guix.git/tree/build-aux/hydra/gnu-syste= m.scm https://git.savannah.gnu.org/cgit/guix/maintenance.git/tree/hydra/cuirass= -jobs.scm There are very close to one another. The main difference is that one returns an alist with symbols, whereas the other returns an alist with keywords. If we could instead add, say, build-aux/hydra/gnu-system-cuirass.scm, which simply loads gnu-system.scm and =E2=80=9Cconverts=E2=80=9D the result= ing alist appropriately, that would be awesome. I understand this is not quite what you were asking for ;-), but it would achieve the same result. How does that sound? Thanks, Ludo=E2=80=99.