From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id IGHtExXsLl82EAAA0tVLHw (envelope-from ) for ; Sat, 08 Aug 2020 18:16:53 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id oEnEDxXsLl+qGwAA1q6Kng (envelope-from ) for ; Sat, 08 Aug 2020 18:16:53 +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 8F431940365 for ; Sat, 8 Aug 2020 18:16:52 +0000 (UTC) Received: from localhost ([::1]:48044 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k4TOl-0006WR-IZ for larch@yhetil.org; Sat, 08 Aug 2020 14:16:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52422) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k4TOb-0006VS-6j for help-guix@gnu.org; Sat, 08 Aug 2020 14:16:41 -0400 Received: from tobias.gr ([2a02:c205:2020:6054::1]:45778) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k4TOX-00061J-Uv for help-guix@gnu.org; Sat, 08 Aug 2020 14:16:40 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id b3db0de6; Sat, 8 Aug 2020 18:16:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to:cc :subject:references:in-reply-to:date:message-id:mime-version :content-type; s=2018; i=me@tobias.gr; bh=EYFcZVMhUbGeqlN1XIQees 2FULOjB1X7G4Ms8ha5Kbo=; b=NW11JBsKOfEj+aE41loTP+P17XVHQdqKU5Ngzg MIThnXJXzoEacRRkLKGIZm92Qi7r1JugJckg5KBMT57WQidFepixzfn9WmZ/+eOj ki0cxRWlsTy06+mnq38c1KHZDHmzFH8fd9CRq61x1MXSRws+rwF1CPu6HpHpRlyo TKD2Uc/x8G5SuaH0ZPVts/2ygOFQ7sgRntutPDIsEIbJ4iVd3C0sFtVBasyUzOo5 sbtJQpRp1xs+f9s8hmJQnKr3kuCX93WFcvVnADyZ3BZcZsn+H/jaFCffLfiLZs/o nsEtTrMSi4oU/9OgnTZy0YaMHrja3u20FmEQ6PLzkiQ56CDg== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id c6031967 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Sat, 8 Aug 2020 18:16:55 +0000 (UTC) BIMI-Selector: v=BIMI1; s=default; From: Tobias Geerinckx-Rice To: EuAndreh Cc: help-guix@gnu.org Subject: Re: How to select git:send-email output in config.scm? References: <875z9txy8n.fsf@euandre.org> <87o8nlml9y.fsf@nckx> <87364xxm5u.fsf@euandre.org> In-reply-to: <87364xxm5u.fsf@euandre.org> Date: Sat, 08 Aug 2020 20:16:38 +0200 Message-ID: <87ft8xm29l.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tobias.gr header.s=2018 header.b=NW11JBsK; dmarc=pass (policy=reject) header.from=tobias.gr; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: -2.31 X-TUID: zA2MfaEQomHS --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Good evening, EuAndreh =E5=86=99=E9=81=93=EF=BC=9A >> Use specification->package+output. > > I tried that, and it indeed doesn't complains about 'unknown=20 > package' > anymore. However, send-email is still not installed after a=20 > system > reconfigure: Indeed, my first mail was too hurried & my longer mail didn't=20 address this part at all... (packages (append (list (list git "send-email") (list git "gui") ; just another example foo ...) (map specification->package '("git" "bar" ...) PACKAGES takes a list of, well, packages -- *or* (package output)=20 sublists! This is not well-documented: it's mentioned in=20 gnu/system.scm, but not in the manual under =E2=80=98operating-system=20 Reference=E2=80=99. I will add it there. Thank you for pointing it out. If you want to go one step further, get rid of APPEND, and MAP=20 everything: it's not hard to write a procedure similar to=20 specification->package+output that returns a list instead of=20 multiple values (hint: take a look at DEFINE-VALUES). There might=20 well already be one hiding somewhere. I don't know. For today, at least, I'll leave this as an excercise for the=20 reader. :-p Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXy7sBgAKCRANsP+IT1Vt ecKUAQCXlCofXInrr5lJ+mlNfp71S7DxY9JrD22KbwoJyhQstAEAsOmSuDN/T0NS 9y5Tj7Z0UtdxSu+u5wXH2U8MBf81oAQ= =GeFD -----END PGP SIGNATURE----- --=-=-=--