From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id UFurF7PvPWb69wAAqHPOHw:P1 (envelope-from ) for ; Fri, 10 May 2024 11:58:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id UFurF7PvPWb69wAAqHPOHw (envelope-from ) for ; Fri, 10 May 2024 11:58:11 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=excalamus.com header.s=zmail header.b=OuSk2xOa; 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"; dmarc=none; arc=pass ("zohomail.com:s=zohoarc:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1715335091; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=ME2jtOGzss97wURKrbVdTtwSo33755br2lsjcY4+UHw=; b=pvd0HVgD0nwlFz+MWV9zRCvUv/elcH/akg2LZ37g8rY/hOmhvJwIKckdAV1YNgImsTyMd6 Z+ubpRx+Ss1xHo+GSvAq9IBdnCX3RMUtkak7O6NG2VOlrPk2Wu8O6MfwIJYBKrHlZBi0YR KJgWImumNl0uhnezfa196xFAzKvYhNqsPqSQy7+YquFbxW0JKZ1aXVB2Q1HHfxiCk8TPLb YmfViIfcgyKjMD1s+kMK3K7gPbXNRWN9kEGJdBQxuE0bsHcS0tG0opSPz5lI8gOzWTcnTg 2qOfZsEhOdHyR7m/pC6I4T9ofaHgceo3Ws+rwRkz0i3PzGNy4ROtLk2ofB4tLQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=excalamus.com header.s=zmail header.b=OuSk2xOa; 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"; dmarc=none; arc=pass ("zohomail.com:s=zohoarc:i=1") ARC-Seal: i=2; s=key1; d=yhetil.org; t=1715335091; a=rsa-sha256; cv=pass; b=uP/2p1OvZtVKhG9rl6YoK3FyiGYgPDJsB1VO3Rjv7e5eDO5B68Vd8xFRXpa5x4kMsrPJzz iVMfQj1ilmQt+YW2lf59JR/wzcJDNDhGToDpiFI2QXBoejioK3jRKSZezy8QzH3iejPi8F MEgplA1SvS/Z/Lto90bOEbTO0djzYyrBy1A6RR6IGYlO7UbbWChunBQZfkmxU60wYlNFE/ c1fk47G+zM7yIMqPl0gJL5QwLQbruP+YPGF4ecCcOpFBMoGj9a//RWxdo5VnFoTrS0Efek A6T9hWvoymhPOgEPa447mLZr6a31trVwxYzCXTU3tT1OP+9fc2W0PmsUduZi3Q== 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 4E5263C147 for ; Fri, 10 May 2024 11:58:11 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s5N0S-0002yh-Vu; Fri, 10 May 2024 05:57:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s5N0R-0002yX-TH for guix-devel@gnu.org; Fri, 10 May 2024 05:57:35 -0400 Received: from sender4-pp-f112.zoho.com ([136.143.188.112]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s5N0Q-0003HX-8O for guix-devel@gnu.org; Fri, 10 May 2024 05:57:35 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1715335049; cv=none; d=zohomail.com; s=zohoarc; b=h+2uDWFPxWbmSMbSRbmBNP4JLlaNR/P0u05LZrjGcqoA+UpxdxlEP3Fj5vbDPTgh2FpYvxZR/mCNhcDfhS4MR4c7u6UnHCVFZ6h8olAvmd9+u0V/O9J1uyNpOmt7DjoY6Dptc+uwAbNoJ5hNpjB+Htsl+0TGu7f3YYZcoW3iYIQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1715335049; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:Reply-To:Reply-To:References:Subject:Subject:To:To:Message-Id; bh=ME2jtOGzss97wURKrbVdTtwSo33755br2lsjcY4+UHw=; b=QOCUfiG4WtkXiFn5DZ7qyKmSQLamATPQt2Hk3AVGK1nZK51dDTYLPfx7dE+3FrSkLy4YT6wlOi8sX73+NETlmIDuzxukCEqFbzYWzZ5QTXWHxcuFMMxVcGDFPG7V/JV4V7/g6LQCL2DL/2kgCNS2V+WWBXNfJAlq161RocDRhk0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=excalamus.com; spf=pass smtp.mailfrom=matt@excalamus.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1715335049; s=zmail; d=excalamus.com; i=matt@excalamus.com; h=Date:Date:From:From:Reply-To:Reply-To:To:To:Cc:Cc:Message-ID:In-Reply-To:References:Subject:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id; bh=ME2jtOGzss97wURKrbVdTtwSo33755br2lsjcY4+UHw=; b=OuSk2xOazEq0sPIUqoTdXMYl+5U+L4Qejenk/l70D/OrhNUTneaeZuBmlp3WFmkO HacUt+WH6u004/T+lCCzUWdSwemlbuuNUXQtL/RB2dL5V2via3DnuhvI8BIV2TixYlI vqL+MlbPVihPWwKk2/GzsOTU2Ry0BnpG4Er/AXBw= Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1715335048252114.1931323281326; Fri, 10 May 2024 02:57:28 -0700 (PDT) Date: Fri, 10 May 2024 11:57:28 +0200 From: Matt To: "Vagrant Cascadian" Cc: "guix-devel" , "pelzflorian" , "dev" , "maximcournoyer" Message-ID: <18f61efac25.12b7c69ea491294.3159506289984304603@excalamus.com> In-Reply-To: <87y18ll5he.fsf@contorta> References: <87a5p8yn4p.fsf@dadoes.de> <18f54937bf9.bbb95b97196253.976385347649899026@excalamus.com> <87y18ll5he.fsf@contorta> Subject: Re: [PATCH] doc: Clarify need to update search paths on foreign distro (was Re: Feedback of the GNU Guix manual) MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Importance: 3 User-Agent: Zoho Mail X-Mailer: Zoho Mail Received-SPF: pass client-ip=136.143.188.112; envelope-from=matt@excalamus.com; helo=sender4-pp-f112.zoho.com 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=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: , Reply-To: matt@excalamus.com Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -8.85 X-Spam-Score: -8.85 X-Migadu-Queue-Id: 4E5263C147 X-Migadu-Scanner: mx13.migadu.com X-TUID: RPZ4QZ9YVlSk

---- On Tue, 07 May 2024 22:41:33 +0200 Vagrant Cascadian wrote --= -=20
> On 2024-05-07, matt@excalamus.com wrote:
> > #+begin_quote
> > 6.7 L37 true for Guix System as well?
> > The result of running =E2=80=98guix pull=E2=80=99 is a =E2= =80=9Cprofile=E2=80=9D available under
> > =E2=80=98~/.config/guix/current=E2=80=99 containing the la= test Guix. Thus, make sure to
> > add it to the beginning of your search path so that you us= e the latest
> > version, and similarly for the Info manual (*note Document= ation::):
> >
> > export PATH=3D"$HOME/.config/guix/current/bin:$PATH"
> > export INFOPATH=3D"$HOME/.config/guix/current/share/info:$= INFOPATH"
> > #+end_quote
> >
> > As far as I know, exporting like this is only necessary on= foreign distros.
> >
> > The attached patch makes this explicit. It also provides = information
> > for people unfamiliar with the concept of a "search path" = or how
> > shells work by suggesting the exports be added to .bashrc = and tries to
> > clarify the consequences of not doing this.
>=20
> If the foreign distro has /etc/profile.d/*guix.sh installed, as
> implemented in the binary guix-install.sh script and also imple= mented in
> the Debian packaging, manually adding this is also arguably not
> necessary, unless they are using a shell that does not respect
> /etc/profile.d ... which, to my knowledge, is no different from= Guix
> System really.
>=20
> There is also the issue of logging out and back in again (or ma= nually
> adding the variables for one session), but that seems a little
> tangential, and again, is no different for Guix System than on = foreign
> distros.

Should we remove the advice to update search paths and instead explai= n (IIUC) how guix.sh is added to /etc/profile.d? Basically, does the reade= r need to take some action or is there some information about the system th= at would be relevant for the reader regarding its use or maintenance?