From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id cGwdHz+SOmYS3gAAqHPOHw:P1 (envelope-from ) for ; Tue, 07 May 2024 22:42:39 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id cGwdHz+SOmYS3gAAqHPOHw (envelope-from ) for ; Tue, 07 May 2024 22:42:39 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debian.org header.s=1.vagrant.user header.b=ia6ENJHj; 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1715114559; 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=nG5uMua3KnCJBolNd7IHzuu4nEF4MTKUajLm+MaML3s=; b=Zd4QqWYP1IJuMI/0piGj/TNMv9U8bJ+R+WPaEaKn9KuUeuVzK4SynO7F+HF+RGyD5yeOZb o4Zu5dy92zHuh/YfKsP3iaSuWn2CwExeV2pzz8x29fE+TXCaIU9EQe4SCc3k5PgWRIZH+g ssjn8C3CuBFf6vvLruXISFhPZehP6cg9bL+JiElwtHIHdax/wPiXJaAekNJGYDNOTh2F+1 Tei9ekgIa7lIBLTVRlDboUG6hQ6QRUBbWYxp3qqG/IZoooZUZc0R+qvuBVeFgg/sIRer/f aBY42i9sM//jPRxVdlZxY91LVmcXu1L3S84j6n0VrdxydyO4i9BV0tGLEBJ51g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debian.org header.s=1.vagrant.user header.b=ia6ENJHj; 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-Seal: i=1; s=key1; d=yhetil.org; t=1715114559; a=rsa-sha256; cv=none; b=J8Yx4ylb3a8yGhnCDMafqQ4wujvIhuC/fdpM8Q/DdQKq6bzwlFHn7+6UQGhyyrzfGUIRNp AuAh8mSTwP24SRuR4lLbPp3vPnRsDBYtt+WioZUxsAadD2qRNsClC+R64HkYRE3eFAgAwC ssNKtNjnMMD4dkIXWBxRLhYXL6MOsNwPuAvHgWj4Bj69vCh7A5z+NGwvGqCuqoTVLUL+Um tFzqzEkEwKrkKugxf3llJJb5dm8+i9rWIYA+L5P1ViY60t9wchrn4GUUuEPTUKU8U4SWYa i+yYLx1rvX7V3NxnDKW7spIZthYQA2xBFQmM9NGsox8cA4MbaKGmd0edbMVtpA== 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 1D073E232 for ; Tue, 7 May 2024 22:42:39 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s4RdL-00076A-RG; Tue, 07 May 2024 16:41:55 -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 1s4RdJ-00075m-Ut for guix-devel@gnu.org; Tue, 07 May 2024 16:41:54 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s4RdG-0000Km-CB for guix-devel@gnu.org; Tue, 07 May 2024 16:41:52 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:20]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 0B3381AB52; Tue, 7 May 2024 13:41:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1715114498; bh=XeshJqYFUvJghN9Q3KekAg7p47edkjAyLrHj5BD83Jw=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=ia6ENJHjij0q22WZRnjmp70VfylaaKZFj2yz96DOd6EsOZBHrGsOEIJxSWQuL+Ea8 0f3PQiQ0shhCfc2IEERIpYDgozvwDZ379HmPJ4Xh4sppErrif13ZFqeIhkyJXRuslz FWQ518YVF6AIUfa5ZUkXnDSW09A7+6ycYVTQMklozXfnuYcjUKa57651qp9l2EJafA XyQPT50cL7Ot/2WUPPlAM2AKpHW2UVCyRlL2Y1leSJVRBePhPq0u6OLO6cLK40wFon 3/SVkfC1z9s+7GUDeQ8+9ohlvkGa8zMm02ndhNVt7Z2dG1FMMb3USOrFUXAGxq2W0f n7RdwxsVmzjDw== From: Vagrant Cascadian To: Matt , guix-devel Cc: pelzflorian , dev , maximcournoyer Subject: Re: [PATCH] doc: Clarify need to update search paths on foreign distro (was Re: Feedback of the GNU Guix manual) In-Reply-To: <18f54937bf9.bbb95b97196253.976385347649899026@excalamus.com> References: <87a5p8yn4p.fsf@dadoes.de> <18f54937bf9.bbb95b97196253.976385347649899026@excalamus.com> Date: Tue, 07 May 2024 13:41:33 -0700 Message-ID: <87y18ll5he.fsf@contorta> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: none client-ip=173.255.214.101; envelope-from=vagrant@debian.org; helo=cascadia.aikidev.net X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.581, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_NONE=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: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -11.59 X-Migadu-Queue-Id: 1D073E232 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -11.59 X-TUID: 8l9DAF7ewSZc --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 latest Guix. Thus= , make sure to > add it to the beginning of your search path so that you use the latest > version, and similarly for the Info manual (*note Documentation::): > > 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 distro= s. > > 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. If the foreign distro has /etc/profile.d/*guix.sh installed, as implemented in the binary guix-install.sh script and also implemented 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. There is also the issue of logging out and back in again (or manually adding the variables for one session), but that seems a little tangential, and again, is no different for Guix System than on foreign distros. live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZjqR/gAKCRDcUY/If5cW qgRAAQDMvCKN15XQj0Vk+j8Cj5iP4i6fidY3CZMZU41uLyJpUQEAuHKpWjYnHxno o9OexZ3i9KUjh7vNIgyBxNqKt5G6dwc= =EcTX -----END PGP SIGNATURE----- --=-=-=--