From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6J5yAe1jJGPsEwEAbAwnHQ (envelope-from ) for ; Fri, 16 Sep 2022 13:54:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 6L1YAe1jJGO1fAAAauVa8A (envelope-from ) for ; Fri, 16 Sep 2022 13:54:21 +0200 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 710B0B8B6 for ; Fri, 16 Sep 2022 13:54:20 +0200 (CEST) Received: from localhost ([::1]:43684 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oZ9vH-00067o-Jb for larch@yhetil.org; Fri, 16 Sep 2022 07:54:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52262) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZ9uh-00067f-36 for guix-devel@gnu.org; Fri, 16 Sep 2022 07:53:43 -0400 Received: from mout02.posteo.de ([185.67.36.66]:44173) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZ9ue-0006Yl-Rf for guix-devel@gnu.org; Fri, 16 Sep 2022 07:53:42 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 56E34240105 for ; Fri, 16 Sep 2022 13:53:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1663329217; bh=RGHS08+aiS7NAyj5DZ+OTB/HcXCnbAGFt+Mw3jcnamM=; h=From:To:Cc:Subject:Date:From; b=a5zNaeP5c55KsGmmjrzFqbaPZT+NAM7g+zzxFxbcl2IRSA5ZaD2FnTEieVcy8Qu+y UhAnZzs5LteLaD4COiZJ1QdeRstuw0MiNZ3XOZhCYXlHmnMq674geBTRqafPqmHiLj Xs0br1OAy8TME6cuzrqJrZcfVODpEKQE6FlEEnoppkUMLMNCoPb9qsihrgbmfKgpV7 ZBhDg1dLgWbTS5Dg23oy71Jeyp4u4L6fklaA3FGvG9wW1eP1PFuQvmNMeamTBPW1ZK Ri5g0cWsWWTnaiZ01HvFfKlsF+RChU/SxpNQ8G9m1grKuZmPRtUHfCNKiKoswvtS81 egcxnu+qkuFEA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MTXXG1m29z6tnp; Fri, 16 Sep 2022 13:53:33 +0200 (CEST) References: <20220915184406.GB32204@dismail.de> From: Guillaume Le Vaillant To: jgart Cc: Guix Devel Subject: Re: Guix and Coleslaw Home Recipe! Date: Fri, 16 Sep 2022 11:31:29 +0000 In-reply-to: <20220915184406.GB32204@dismail.de> Message-ID: <871qsbr0w2.fsf@kitej> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=185.67.36.66; envelope-from=glv@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1663329260; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=RGHS08+aiS7NAyj5DZ+OTB/HcXCnbAGFt+Mw3jcnamM=; b=FaYnz57rfG5hzSso7CiZdyrAVsQ2zC9t+F5/On5P8rtEvo6jztalPW/vTA/qGyCKi4xwry 1BKf0tB4cA1NueYxquEMJ3x7OntJS36RU61lNTnNRQxg6Py7pd9nXyP41g12qYqv0YYE08 kC0Fb62rAkntuWw6sxpPceDrIYh2/hPWjwZlCXgBcO8/6Tn4P7/CpsuiuX2hdOYum/8SYA DshZ2r6kAO+K1HqDXUwNP8Aq/OCENbCCEJ+zBbIyRuklUPSkS8Nx9DXUxBeZ1N3FQLqdhl xERbvDEkBYzonCzj+dyBh4odw1HEbz4NtsSwyl4vD61sXCmbf8WXzevUAEU7VQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663329260; a=rsa-sha256; cv=none; b=EQn2HVLAQpVgbkwLY3Ak2K4AZIjNdj7GqsWrGhVPH9l2rKNoouxpkD0kcN57p6R2g1k04B leK5VwoF0CbfxLbnr5QbaOvpQSumJ6BEEy8KZW5rP1Ml3vUipq7lLHXIFN/gQxEKdq2IbP iIv2fOZkbirdDIzWNI+8VrSZIvxKrFSC2u8acGye0+y5hD2WVv2YRzFFPTZwkifRnBkJJE 0G7gn3AgtTpL0vW2CYKzKXkdNp2cSuxhRVdVDKQTMB/uBHpTwXJYGP4JtJA2CVmVnJU+0+ zFPsQJt9Dk9xGQ+PJ2NrVegUt6M8kyTy80Q72WYmH4G5P0Jlccp1NuY4LqlAkQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=a5zNaeP5; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.93 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=a5zNaeP5; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 710B0B8B6 X-Spam-Score: -4.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: oRUpeNVrrvGI --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable jgart skribis: > jgart ponders to self: > > Will this package build the `coleslaw` CLI command with our current asdf-= build-system? > > What's missing? > > https://github.com/coleslaw-org/coleslaw > > Here's my attempt but there's no executable in the store for `coleslaw`: > > https://git.sr.ht/~whereiseveryone/guixrus/commit/9f8a48141c5e6c4bcdde211= 64db733c66d189724 By default, unless upstream put code in the ASDF system definition to make a standalone binary automatically, asdf-build-system will only compile the files of the library. To make a binary, you can add a phase using the 'build-program' function, as in the stumpwm package for example. It might be better separate the library and the CLI program, for example {sbcl,cl,ecl}-coleslaw packages for the libraries and a coleslaw package for the CLI, or a single coleslaw package with several outputs ('out' for the CLI and 'lib' for the library).=20 > Guillaume, what do you think if I add documentation or a tutorial > somewhere for how to deal with common lisp packages that require to build > an executable? Before I do that though, I'd like to first understand > fully what I'll be writing about ;() > > any advice much appreciated, > > jgart There is a little paragraph about the 'build-program' function in the "Build Systems" section of the manual. You could improve it by adding more details or examples. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCYyRjvQ8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j9kOAEAox8mNPnAngq5ca8ZwlJAUEGf1MLxab3LuyCf 61PPIw0BAKBZ3biJd+0kQit1QF/gCDDhvT75ISztE8Rel6OS8QPY =X7hh -----END PGP SIGNATURE----- --=-=-=--