all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#35942: guix install: environment variable message is very confusing
@ 2019-05-28 11:17 Robert Vollmert
  2019-05-28 12:08 ` Tobias Geerinckx-Rice
  0 siblings, 1 reply; 7+ messages in thread
From: Robert Vollmert @ 2019-05-28 11:17 UTC (permalink / raw)
  To: 35942

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"

I understand that the variable will be set in a new shell, but not in the current shell.
But as it stands, the message serves to confuse even users that are somewhat experienced
with unix-like systems.

Suggestion to instead print:

Set the following environment variables to use <package> right away:
   export PYTHONPATH="/home/rob/.guix-profile/lib/python3.7/site-packages${PYTHONPATH:+:}$PYTHONPATH"

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-06-06  7:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-28 11:17 bug#35942: guix install: environment variable message is very confusing Robert Vollmert
2019-05-28 12:08 ` Tobias Geerinckx-Rice
2019-05-28 15:23   ` Ludovic Courtès
2019-05-30  7:07     ` Ricardo Wurmus
2019-05-31 16:45       ` Andreas Enge
2019-05-31 21:19       ` Ludovic Courtès
2019-06-06  7:48         ` Ludovic Courtès

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.