From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 8AqpGsLNdGKv6gAAbAwnHQ (envelope-from ) for ; Fri, 06 May 2022 09:26:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id AKqVGsLNdGLFSAAAauVa8A (envelope-from ) for ; Fri, 06 May 2022 09:26:58 +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 E6599BBCF for ; Fri, 6 May 2022 09:26:57 +0200 (CEST) Received: from localhost ([::1]:52126 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmsMa-0003jY-Ew for larch@yhetil.org; Fri, 06 May 2022 03:26:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43576) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmsM5-0003hj-Fy for guix-devel@gnu.org; Fri, 06 May 2022 03:26:26 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:54299) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmsM0-0000Fp-Pm for guix-devel@gnu.org; Fri, 06 May 2022 03:26:24 -0400 Received: (Authenticated sender: andrew@trop.in) by mail.gandi.net (Postfix) with ESMTPSA id E5AC210000A; Fri, 6 May 2022 07:26:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trop.in; s=gm1; t=1651821976; h=from:from: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; bh=a1Oko7/dDZL4GhNL8wX1MK0ze+K9td3IlDC21RGWI3g=; b=SLfen3w2tOh1gjuFrG2tEskC3TKQ6ig4+SsuWETNvMU44yRB53KA7lsSZVBWDNFcLvojTp lC/FO/yBWXvd1k3e2NU2Z5j3qcKjEwOvSGdLtbqKgthlP6QN1YFzmgPjiZDIXBRuOrb8ww rkxradqX3W/mSKmL/sq7LPI3MV/sim6yttO3988Uv+AIGbs9Af+aylD3k7LxrsChSQS8Om AiMfgCx00SfwcYASjr4bcu7NNj7WzLfhESQVx/jI/42h9gD+mkvnGJ6WxpYvECWjKoa/zw iJLAhvZt1sQ9m1MfVDCp9ajsRFMFpmfBQC2I6NhD2pggkVPa77vAZn3ZQkSIjw== From: Andrew Tropin To: Attila Lendvai , EuAndreh Cc: guix-devel@gnu.org Subject: Re: RFC: Configurable placing of the ~/.guix-home symlink In-Reply-To: References: <165124344113.9376.12189389163309720556@localhost> Date: Fri, 06 May 2022 10:26:12 +0300 Message-ID: <87ilqjm8a3.fsf@trop.in> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=217.70.178.231; envelope-from=andrew@trop.in; helo=relay11.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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=1651822018; 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=a1Oko7/dDZL4GhNL8wX1MK0ze+K9td3IlDC21RGWI3g=; b=terTPDRoykalWBq4xXenaX2LcMLYpi/imVjjkc/Ht7TGF8wv9+pOlV436gWgE+YBRO/5Hd EPRtMg4DizdNfiTklg1Y48DPHcK0gofHxdgC7GF4cfUfXvqAwcEwCORPOgCo0egx6TrIZi aLcrd1H/cfIzRv9LhP+tmjTMqKqwL2YdVWK2u/TeUcidmsCQJ0LSYIk/s19JZ/cGc43Ye0 EWbx3Yo/Lh1Z92Nx9rZSHp93eyS0dlacg9pBtKDw0ExYT/jze2fXzIhSZUW25VnRdzbqTI hDG+1HsIxbCbVAIaEXopuH5p4AqMkshebDPNiPUc8qebw1JUBUWhokWvfo+4JQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651822018; a=rsa-sha256; cv=none; b=HRESj0ILb8OzQC/YQtWDG/CPB7+2XI9F4IheWwXGYoHp4n210OvEK2xEjGy268XRFHsAUL /poX8dxqJdNSqyT1GuTH0OTHiLSppeR7u9ujgB6kZfI8ZZRDIH5RBn23Q7gI1U3BEe5xJq jtsJ3Bgz6sCKn1o8g7OdppJbfsl+p4E1b1NHNiPKyDCLtH4rIR5gyBJjOYaw4A3nIRgShL r/+gYSGIa0i4paF6cS4llLxw98WysNwDXiM2WbUm/Yahn3QoNaakZMsacC/XCzcb+rv8EP ODblBqMxCmvJfIU4Z3YFescEcko8mBgrIrD0pVLy9N/cc5LnzwsnO6z7rvrCGg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=trop.in header.s=gm1 header.b=SLfen3w2; dmarc=none; 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: -5.20 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=trop.in header.s=gm1 header.b=SLfen3w2; dmarc=none; 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: E6599BBCF X-Spam-Score: -5.20 X-Migadu-Scanner: scn1.migadu.com X-TUID: dehI4xzotdp0 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On 2022-05-05 06:55, Attila Lendvai wrote: >> When trying to get a clean $HOME, I see that the ~/.guix-home path is fi= xed in >> the code under gnu/home/*, >> usually via (string-append (GETENV "HOME") "/.guix-home"). > > FWIW, i was also surprised that the default is not something under ~/.con= fig/guix/ It also can be problematic, we can't hardcode ~/.config/guix home due to XDG spec, and at the same time XDG_CONFIG_HOME can be managed by Guix Home, but also can be set outside, and all the points mentioned above applicable here as well. Back in the day, the implementation of Guix Home required a symlink in home directory, right now due to improvements in symlink-manager and reconfigure code it's probably not necessary and with a few patches /var/guix/profiles/per-user/bob/guix-home/ can be used instead. =2D-=20 Best regards, Andrew Tropin --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJDBAEBCgAtFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmJ0zZQPHGFuZHJld0B0 cm9wLmluAAoJECII0glYwd6wgqwP/1avnHAylLTiWlRSzOvzljj8A59SZUo66XcX bl/tKdh8it6KtBtnvhzh5iVj8rLShDWcZR7yG1V9RP+uni/BlwdUNkagRdbh2KSd lbGcR8C1AAf93CrdOdtlGo3R9L4vkns7n+gXp8yJiDYJC66M0k0LfGAZjANtKWkC WKigqhpq3U8GW6xaHgIXq2ypbJHE5TDo3s0537xOI4MOaeVw8NqwQ0G649z2kB2f n/Jzv/J6hlzqSnycE8bnJVdFKZH8RH+dfcLHO8lROAcUYB5OBNsVhoTIV0iB+FeZ dqdJ1Qha0Vswts699ciHjrbUrkbJfcyq6HIhYQ0YlctJO771goR2xM98HEVz5ZgP COIeD6plC9ofjVPc718LcWll/Ou4zZN9ZnkQfCCY7W0TazAJXCkVoYisbPPnyKYr h8M7X6Az/LkriufXUynCHVA0IsTp8IfnFykBSoikqbuUCufHOUaEWwbHXLorKNhC Is9w5//CC7ytQn9B34lmQXkb73YMNvbYutn7NqlDjP00DSFlt4eTHGVPG2xQHcI4 9zZxImKVpOFZmOS8DtyE4uOqSeE3yoGKRDIfK2oquCddrp6LKeEFeaNKpfERNl9S tCc7jADsBMNi1h6Or0Bgr+y0mNxPazJifjIl5529QlFC0E7yn/2yqPRRe/FS98Ik N20jDZIX =MLZu -----END PGP SIGNATURE----- --=-=-=--