Ludovic Courtès <l...@gnu.org> writes:
> When (re)sourcing etc/profile, you might clutter some variables. For > instance, if you do that several times, you can end up with: > > > PATH=$HOME/.guix-profile/bin:$HOME/.guix-profile/bin:$HOME/.guix-profile/bin:… > > Conversely, the hint upon installation disappears if the entry is > already present in the variable. > > That’s a fine point but I occasionally rely on this as a user. Ah, I see. > That said, I understand your concern. What about changing the message > to: > > You might need to run: > > . …/etc/profile > > Alternately, you can define the following environment variables: > > … > > Too verbose? Confusing? I think it’s pretty verbose, but I think it would be good to have “source …/etc/profile” appear at the *end* of the message. (Guix generally produces a lot of output and in my experience people at the MDC have learned to not read it… :-/) If the last few lines give the most reliable hint (using “source”) I think that would be most helpful. -- Ricardo