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 ms0.migadu.com with LMTPS id eFQAC+pvLGIFmwAAgWs5BA (envelope-from ) for ; Sat, 12 Mar 2022 11:03:22 +0100 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 QEufB+pvLGIYeAAAauVa8A (envelope-from ) for ; Sat, 12 Mar 2022 11:03:22 +0100 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 DC86434A10 for ; Sat, 12 Mar 2022 11:03:21 +0100 (CET) Received: from localhost ([::1]:49094 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nSyan-0000qO-11 for larch@yhetil.org; Sat, 12 Mar 2022 05:03:21 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58090) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSyaV-0000q0-HZ for guix-patches@gnu.org; Sat, 12 Mar 2022 05:03:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:45213) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nSyaT-0007Eq-UI for guix-patches@gnu.org; Sat, 12 Mar 2022 05:03:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nSyaT-0002Gz-Mc for guix-patches@gnu.org; Sat, 12 Mar 2022 05:03:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54293] [PATCH v2] home: Add home-git-service-type. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 12 Mar 2022 10:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54293 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: iyzsong@outlook.com, 54293@debbugs.gnu.org Cc: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Received: via spool by 54293-submit@debbugs.gnu.org id=B54293.16470793248657 (code B ref 54293); Sat, 12 Mar 2022 10:03:01 +0000 Received: (at 54293) by debbugs.gnu.org; 12 Mar 2022 10:02:04 +0000 Received: from localhost ([127.0.0.1]:39110 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nSyZY-0002FZ-Dk for submit@debbugs.gnu.org; Sat, 12 Mar 2022 05:02:04 -0500 Received: from laurent.telenet-ops.be ([195.130.137.89]:39406) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nSyZW-0002FR-QI for 54293@debbugs.gnu.org; Sat, 12 Mar 2022 05:02:03 -0500 Received: from [172.20.10.9] ([188.189.165.207]) by laurent.telenet-ops.be with bizsmtp id 5N20270054UoT8k01N20H0; Sat, 12 Mar 2022 11:02:01 +0100 Message-ID: <603cf5d762cebe92c15a9b50a8df121d97bf2e68.camel@telenet.be> From: Maxime Devos Date: Sat, 12 Mar 2022 11:02:00 +0100 In-Reply-To: References: Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-yDIwbxughuLh/kaogQus" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1647079321; bh=7Mqyfn60QzVRDVOqLIwrmJovOdG6l88kqf6+1HuMwCM=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=ISnpjlfKfQFZAyiLyOrgVkXLbIxhV/PCyNrBFyPrFiecCDGwqWSO6QxCVK+KfSB7H b0oX05puL8F4D/LmMu2XeQY10EvFOnruBjV1t1bavvD721V9wa+eEOQOPMg1kXLuXP /zX6EKcbYq8kwOqrtXWX+CswrI7daKjX07eYq3BUokR4dnyL/vzskosJ8qQ7buiv/u ta6r/N/4GgBRFDdj91PgudvcrNGxdA0SN2BGtdQBTTxUmpm/D7MbLcYZUOlokxE/IE vlQ9ibxR11QF2BDN6J3/8RcI2M2dg5oTa0yJ0KDJ2SoIbEkPv0yQqnHWtxOXCBjOnu xw2eFuRuRqmWQ== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" 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=1647079401; 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:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=7Mqyfn60QzVRDVOqLIwrmJovOdG6l88kqf6+1HuMwCM=; b=hzkGtc/DCGzyADihWaEclrms/wtSP61hpKYvQ/zSVzuEom68okaQMhI1zhBy/AMFMu3wC2 g9wVw5M6LlNmqHb9hNVQZJ1JWsfqOgv/U8LoHFEVvUKaGAMPDCNrUx33BGePas9ruN3afm Ow/XGpRdP3Ph5UDOxQ+y3ZpHu2ZkGIFxFIgLSCEMJ6FDaJKLtxP73OokwH9m4bUaYXX2kZ zs2a3lTpIxapVfuJW57rvYwcdYIj9zHSiMOBSG4k9s5o64tnk49tyeRVEqp7oEplf2HIXt fnJfXpKyQJrIX4e4TrcuhhiuqCs+ZxwYmcCljo3GjT9yYnU8037y+FBtgX4iNg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647079401; a=rsa-sha256; cv=none; b=j4aDHmPp1r/PmeI7mzDYkcI/yZy9tlpmEumn55pYPRs2X8BvS8i6G826jU2al/RFbpuDP2 ch/mQU5sZ+zxdokFD9a+o1Ct3PqGZAky1RRYccl+Vb2GJBraodbTfTOEnouoYH69ZdYBsX MLbD1P4vRN4ksM3LZYyMEtBDsU8PkDOXvKNOCNru6DynPUHLJx/lOs9/UEzYYBGlhp2nkr 20F6gXhoWKHLclN2yUFOGzEy3qgS1MnVoS+qxgFPvB5F2WCSrlnastDOpu35REfX+n7bA7 73PXQM0OPJoCwcHOmABAG+4SGP5PeiYXBZlcBYHWn7RX+CD8oQIq0eFzDV6a2A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=ISnpjlfK; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 2.91 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=ISnpjlfK; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: DC86434A10 X-Spam-Score: 2.91 X-Migadu-Scanner: scn0.migadu.com X-TUID: eZnge9yJQXoE --=-yDIwbxughuLh/kaogQus Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable iyzsong@outlook.com schreef op za 12-03-2022 om 10:22 [+0800]: > +(define (home-git-profile config) > +=C2=A0 (let ((package (home-git-configuration-package config))) > +=C2=A0=C2=A0=C2=A0 (if (home-git-configuration-enable-send-email? config= ) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 `(,package (,package "send-em= ail")) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 `(,package)))) Why is git added to the profile? E.g., what if, say, I want to use "guix home" only for setting up environment variables, dot files, etc, but not for installing software, and I want to use "guix install" for installing software? Alternatively, what if most of the time I don't use Guix, so I have no need for "git" in the environment, and when I do need git, I'll just do "guix shell git" to temporarily add it? Greetings, Maxime. --=-yDIwbxughuLh/kaogQus Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYixvmBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7ld/AQCHiDerPVcXe04uFplQXdIeQIFD R6qUndmH8akDBNCztAEAjO0+D4ZvnCRnYdOhRgW8Y5iMibPo3WwFSYXueJXPzgQ= =HdmW -----END PGP SIGNATURE----- --=-yDIwbxughuLh/kaogQus--