emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#35942: closed (guix install: environment variable


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#35942: closed (guix install: environment variable message is very confusing)
Date: Thu, 06 Jun 2019 07:49:02 +0000

Your message dated Thu, 06 Jun 2019 09:48:36 +0200
with message-id <address@hidden>
and subject line Re: bug#35942: guix install: environment variable message is 
very confusing
has caused the debbugs.gnu.org bug report #35942,
regarding guix install: environment variable message is very confusing
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
35942: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=35942
GNU Bug Tracking System
Contact address@hidden with problems
--- 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 ---

reply via email to

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