bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Robert Vollmert
Subject: bug#35942: guix install: environment variable message is very confusing
Date: Tue, 28 May 2019 13:17:54 +0200

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"






reply via email to

[Prev in Thread] Current Thread [Next in Thread]