bug#35942: guix install: environment variable message is very confusing

2019-05-28 Thread Robert Vollmert
When installing a package that needs an environment variaible to be set for use, `guix install` prints e.g.: $ guix install python ... The following environment variable definitions may be needed: export PYTHONPATH="/home/rob/.guix-profile/lib/python3.7/site-packages${PYTHONPATH:+:}$PYTHONPATH

bug#35942: guix install: environment variable message is very confusing

2019-05-28 Thread Tobias Geerinckx-Rice
Robert, Robert Vollmert wrote: Suggestion to instead print: Set the following environment variables to use right away: Thanks for the bug report! Related (not duplicate) thread: Kind regards, T G-R signature.asc Des

bug#35942: guix install: environment variable message is very confusing

2019-05-28 Thread Ludovic Courtès
Hi, Tobias Geerinckx-Rice skribis: > Robert Vollmert wrote: >> Suggestion to instead print: >> >> Set the following environment variables to use right away: > > Thanks for the bug report! Related (not duplicate) thread: > >

bug#35942: guix install: environment variable message is very confusing

2019-05-30 Thread Ricardo Wurmus
Ludovic Courtès writes: > Hi, > > Tobias Geerinckx-Rice skribis: > >> Robert Vollmert wrote: >>> Suggestion to instead print: >>> >>> Set the following environment variables to use right away: >> >> Thanks for the bug report! Related (not duplicate) thread: >> >>

bug#35942: guix install: environment variable message is very confusing

2019-05-31 Thread Andreas Enge
Hello, On Thu, May 30, 2019 at 09:07:30AM +0200, Ricardo Wurmus wrote: > I was in favour of *replacing* the message with the suggestion to run >export GUIX_PROFILE=/this/profile >source $GUIX_PROFILE/etc/profile > because it usually does the right thing. I think this was the conclusion re

bug#35942: guix install: environment variable message is very confusing

2019-05-31 Thread Ludovic Courtès
Hi! Ricardo Wurmus skribis: > Ludovic Courtès writes: [...] >>> >> >> I don’t think we reached a conclusion back then. I’m fine with Robert’s >> suggestion, but do people think it will really help? >> >> Others were in fav

bug#35942: guix install: environment variable message is very confusing

2019-06-06 Thread Ludovic Courtès
Hello, Ludovic Courtès skribis: > How about the following patch? > > It does produce a slightly verbose message, but I don’t think we can do > much better (we could save one line by not mentioning ‘--search-paths’.) Pushed as bcb7c900cc9d01603fb8fa47bc52caa8e7ebd480. Feedback welcome! Thanks,