From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id ZjBmLqKNLl/sTwAA0tVLHw (envelope-from ) for ; Sat, 08 Aug 2020 11:33:54 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id uFiJKaKNLl9bcAAAbx9fmQ (envelope-from ) for ; Sat, 08 Aug 2020 11:33:54 +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 EE8009403D6 for ; Sat, 8 Aug 2020 11:33:53 +0000 (UTC) Received: from localhost ([::1]:39008 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k4N6m-0004Rm-89 for larch@yhetil.org; Sat, 08 Aug 2020 07:33:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51126) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k4N6e-0004Re-UY for help-guix@gnu.org; Sat, 08 Aug 2020 07:33:44 -0400 Received: from tobias.gr ([2a02:c205:2020:6054::1]:54340) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k4N6d-0007hg-9t for help-guix@gnu.org; Sat, 08 Aug 2020 07:33:44 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id 2c685067; Sat, 8 Aug 2020 11:34:02 +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=WyjW8ajRcbQd+FwApPiheo x4z1Taijp7sLm4OT1sk74=; b=Q80pT2iwwct2SYPa76PTS84OGoOu+F/rGTM0K3 Om2v/5Nuzae+FhdOKEu/82MojtKE1x6f6B0DHTfLZjhONMdEJH+ahU0XrPnkitt/ FJlQiDGVHppD1vHoG3YoRylOWyd0H3iHhK/sDDfP163tCEN7VUqg7AUi+xAo7dEk DKVwqsTtjCTP+Id6rUnTeh20jFVy9yjD27K12+zo6BOVThPcC9Hbwg6lROLndBK0 Nq26pRi3K29Rp5q7KzHTLRqBO8Y0pgsmL0/fX9BrnFPhwhTd9Rf2CDKSDPW6Tnqd fFZTKRIQ6vEoR+G0SivH19gnRzlmqOeGDwwOJXZAfsOJovww== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 87308359 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Sat, 8 Aug 2020 11:34:02 +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> In-reply-to: <875z9txy8n.fsf@euandre.org> Date: Sat, 08 Aug 2020 13:33:46 +0200 Message-ID: <87lfipmkx1.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=Q80pT2iw; 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: -0.81 X-TUID: gT29AlCqVWTt --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable EuAndreh =E5=86=99=E9=81=93=EF=BC=9A > I got a bit confused by that. On IRC pkill9 mentioned that "git"=20 > is a > package, but "git:send-email" is an output. But isn't "git" the=20 > same as > "git:out"? No. Packages are records (the things created by calling (package=20 ...), and upon which you can call (package-name ...) etc.). git:out is the default output of the git package, but git:out or=20 git:send-email aren't packages in themselves: $ guix repl scheme@(guix-user)> ,use (gnu packages) scheme@(guix-user)> (specification->package "git") $1 =3D # scheme@(guix-user)> (specification->package+output "git") $2 =3D # $3 =3D "out" scheme@(guix-user)> (specification->package+output=20 "git:send-email") $4 =3D # $5 =3D "send-email" In all three cases, the package record is identical, since there's=20 only one =E2=80=98git=E2=80=99 package record. Your selected output is sim= ply=20 returned as a string. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXy6NmgAKCRANsP+IT1Vt ecelAQDYLMwR8AQxUQCxztdICdSiLkZFswR95YmX1/fF8OzM1gD/WtaOia7g1gmr uxGmA2zhoEmFYIZnsKXW4tyBEDZq8go= =NMYJ -----END PGP SIGNATURE----- --=-=-=--