From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: bug#35942: guix install: environment variable message is very confusing Date: Thu, 30 May 2019 09:07:30 +0200 Message-ID: <871s0gl8st.fsf@elephly.net> References: <871s0ipyr1.fsf@nckx> <87sgsyvc0e.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:48901) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hWFBR-0007v1-Sm for bug-guix@gnu.org; Thu, 30 May 2019 03:09:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hWFBP-0006by-Tv for bug-guix@gnu.org; Thu, 30 May 2019 03:09:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47119) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hWFBO-0006bI-2w for bug-guix@gnu.org; Thu, 30 May 2019 03:09:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hWFBN-0004qV-Sx for bug-guix@gnu.org; Thu, 30 May 2019 03:09:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <87sgsyvc0e.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 35942@debbugs.gnu.org Ludovic Court=C3=A8s 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: >> >> > > I don=E2=80=99t think we reached a conclusion back then. I=E2=80=99m fin= e with Robert=E2=80=99s > suggestion, but do people think it will really help? > > Others were in favor of dropping this message altogether, which I think > wouldn=E2=80=99t be a good idea: how would people discover about search p= ath > handling? I was in favour of *replacing* the message with the suggestion to run export GUIX_PROFILE=3D/this/profile source $GUIX_PROFILE/etc/profile because it usually does the right thing. It looks less overwhelming than the individual list of environment variables. I=E2=80=99ve seen a lot of people who added all of these variab= les to their bashrc (or bash_profile if they talked to me before), which is not what we want to encourage. We can also hint at =E2=80=9Cguix package --search-paths=E2=80=9D to see a = full list of environment variables for people who want to set them manually right here and now. -- Ricardo