--- Begin Message ---
Subject: |
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"
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#35942: guix install: environment variable message is very confusing |
Date: |
Thu, 06 Jun 2019 09:48:36 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) |
Hello,
Ludovic Courtès <address@hidden> 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,
Ludo’.
--- End Message ---