unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Matt <matt@excalamus.com>
To: "Vagrant Cascadian" <vagrant@debian.org>
Cc: "guix-devel" <guix-devel@gnu.org>,
	"pelzflorian" <pelzflorian@pelzflorian.de>,
	"dev" <dev@jpoiret.xyz>,
	"maximcournoyer" <maxim.cournoyer@gmail.com>
Subject: Re: [PATCH] doc: Clarify need to update search paths on foreign distro (was Re: Feedback of the GNU Guix manual)
Date: Fri, 10 May 2024 11:57:28 +0200	[thread overview]
Message-ID: <18f61efac25.12b7c69ea491294.3159506289984304603@excalamus.com> (raw)
In-Reply-To: <87y18ll5he.fsf@contorta>

<div>
<br /> ---- On Tue, 07 May 2024 22:41:33 +0200  Vagrant Cascadian  wrote --- 
<br /> &gt; On 2024-05-07, matt@excalamus.com wrote:
<br /> &gt; &gt; #+begin_quote
<br /> &gt; &gt; 6.7 L37 true for Guix System as well?
<br /> &gt; &gt; The result of running ‘guix pull’ is a “profile” available under
<br /> &gt; &gt; ‘~/.config/guix/current’ containing the latest Guix. Thus, make sure to
<br /> &gt; &gt; add it to the beginning of your search path so that you use the latest
<br /> &gt; &gt; version, and similarly for the Info manual (*note Documentation::):
<br /> &gt; &gt;
<br /> &gt; &gt; export PATH="$HOME/.config/guix/current/bin:$PATH"
<br /> &gt; &gt; export INFOPATH="$HOME/.config/guix/current/share/info:$INFOPATH"
<br /> &gt; &gt; #+end_quote
<br /> &gt; &gt;
<br /> &gt; &gt; As far as I know, exporting like this is only necessary on foreign distros.
<br /> &gt; &gt;
<br /> &gt; &gt; The attached patch makes this explicit.  It also provides information
<br /> &gt; &gt; for people unfamiliar with the concept of a "search path" or how
<br /> &gt; &gt; shells work by suggesting the exports be added to .bashrc and tries to
<br /> &gt; &gt; clarify the consequences of not doing this.
<br /> &gt; 
<br /> &gt; If the foreign distro has /etc/profile.d/*guix.sh installed, as
<br /> &gt; implemented in the binary guix-install.sh script and also implemented in
<br /> &gt; the Debian packaging, manually adding this is also arguably not
<br /> &gt; necessary, unless they are using a shell that does not respect
<br /> &gt; /etc/profile.d ... which, to my knowledge, is no different from Guix
<br /> &gt; System really.
<br /> &gt; 
<br /> &gt; There is also the issue of logging out and back in again (or manually
<br /> &gt; adding the variables for one session), but that seems a little
<br /> &gt; tangential, and again, is no different for Guix System than on foreign
<br /> &gt; distros.
<br />
<br />Should we remove the advice to update search paths and instead explain (IIUC) how guix.sh is added to /etc/profile.d?  Basically, does the reader need to take some action or is there some information about the system that would be relevant for  the reader regarding its use or maintenance?</div>


  reply	other threads:[~2024-05-10  9:58 UTC|newest]

Thread overview: 61+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-14 15:01 Feedback of the GNU Guix manual Christian Miller
2024-01-15 17:52 ` Matt
2024-01-15 22:05   ` Christian Miller
2024-01-18 19:44   ` Maxim Cournoyer
2024-01-19 21:01     ` Matt
2024-01-26 23:59       ` Matt
2024-02-18 12:35         ` Matt
2024-02-18 13:55         ` Josselin Poiret
2024-02-21 18:27           ` Matt
2024-02-21 17:20         ` Maxim Cournoyer
2024-02-21 18:36           ` Matt
2024-02-23  2:46             ` Maxim Cournoyer
2024-02-23 18:37               ` Matt
2024-03-02 13:34                 ` Matt
2024-03-06 17:15                   ` doc: Removing much of Binary Installation (was: Feedback of the GNU Guix manual) pelzflorian (Florian Pelz)
2024-03-06 19:42                     ` Matt
2024-03-06 20:52                       ` doc: Removing much of Binary Installation Suhail Singh
2024-03-06 21:18                         ` Suhail Singh
2024-03-07 17:03                       ` pelzflorian (Florian Pelz)
2024-03-10 11:09                         ` doc: installation: fix ~root confusion (was Re: doc: Removing much of Binary Installation) Matt
2024-03-10 20:42                           ` Vagrant Cascadian
2024-03-10 23:21                             ` Suhail Singh
2024-03-11  1:58                               ` Vagrant Cascadian
2024-03-11  4:27                                 ` John Kehayias
2024-03-11 19:15                                   ` Vagrant Cascadian
2024-03-11 15:54                           ` pelzflorian (Florian Pelz)
2024-03-16 10:47                             ` Matt
2024-03-16 14:05                               ` pelzflorian (Florian Pelz)
2024-03-17 17:34                                 ` Ludovic Courtès
2024-03-06 21:29                     ` doc: Removing much of Binary Installation (was: Feedback of the GNU Guix manual) Vagrant Cascadian
2024-04-10 14:05 ` Fix grammar and markup (was " Matt
2024-04-11 12:59   ` Christian Miller
2024-04-12 14:41   ` pelzflorian (Florian Pelz)
2024-04-12 19:18     ` Matt
2024-04-13 12:02       ` pelzflorian (Florian Pelz)
2024-04-14  7:00       ` pelzflorian (Florian Pelz)
2024-04-19 14:09         ` Creating a documentation team? Ludovic Courtès
2024-04-19 15:32           ` Maxim Cournoyer
2024-04-19 17:32           ` pelzflorian (Florian Pelz)
2024-04-20  8:33           ` Matt
2024-05-01 20:34             ` Ludovic Courtès
2024-05-02  9:14               ` pelzflorian (Florian Pelz)
2024-04-12 20:16   ` Fix grammar and markup (was Re: Feedback of the GNU Guix manual) Ludovic Courtès
2024-04-13  8:22     ` Matt
2024-04-13 11:26       ` pelzflorian (Florian Pelz)
2024-04-14 14:50         ` Matt
2024-04-15 12:58           ` pelzflorian (Florian Pelz)
2024-04-15 18:39             ` Matt
2024-04-16  6:43               ` pelzflorian (Florian Pelz)
2024-04-18 17:15                 ` Matt
2024-04-19 20:56                   ` pelzflorian (Florian Pelz)
2024-04-20  8:36                     ` Matt
2024-04-17 18:08               ` Maxim Cournoyer
2024-04-22 18:25 ` [PATCH] Fix typo (Re: " Matt
2024-04-22 22:43   ` pelzflorian (Florian Pelz)
2024-05-07 19:41 ` [PATCH] doc: Clarify need to update search paths on foreign distro (was " Matt
2024-05-07 20:41   ` Vagrant Cascadian
2024-05-10  9:57     ` Matt [this message]
2024-05-11  8:14       ` pelzflorian (Florian Pelz)
2024-05-26 19:47         ` Matt
2024-08-09 11:03           ` (No) new profiles section in the manual (was Re: [PATCH] doc: Clarify need to update search paths on foreign distro (was Re: Feedback of the GNU Guix manual)) pelzflorian (Florian Pelz)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18f61efac25.12b7c69ea491294.3159506289984304603@excalamus.com \
    --to=matt@excalamus.com \
    --cc=dev@jpoiret.xyz \
    --cc=guix-devel@gnu.org \
    --cc=maxim.cournoyer@gmail.com \
    --cc=pelzflorian@pelzflorian.de \
    --cc=vagrant@debian.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).