From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Vollmert Subject: bug#35942: guix install: environment variable message is very confusing Date: Tue, 28 May 2019 13:17:54 +0200 Message-ID: Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:38522) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVa8F-0004ii-QO for bug-guix@gnu.org; Tue, 28 May 2019 07:19:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVa8E-0000AP-RX for bug-guix@gnu.org; Tue, 28 May 2019 07:19:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41640) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hVa8E-0000AK-PQ for bug-guix@gnu.org; Tue, 28 May 2019 07:19:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hVa8E-00087m-KA for bug-guix@gnu.org; Tue, 28 May 2019 07:19:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:38389) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVa7K-0004Ye-CE for bug-guix@gnu.org; Tue, 28 May 2019 07:18:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVa7J-0008Ib-It for bug-guix@gnu.org; Tue, 28 May 2019 07:18:06 -0400 Received: from mx1.mailbox.org ([2001:67c:2050:104:0:1:25:1]:56498) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hVa7J-0008H4-Ct for bug-guix@gnu.org; Tue, 28 May 2019 07:18:05 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id A662C4FF92 for ; Tue, 28 May 2019 13:18:01 +0200 (CEST) Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter03.heinlein-hosting.de (spamfilter03.heinlein-hosting.de [80.241.56.117]) (amavisd-new, port 10030) with ESMTP id fnTtjs5_maWy for ; Tue, 28 May 2019 13:17:54 +0200 (CEST) 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: 35942@debbugs.gnu.org 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=3D"/home/rob/.guix-profile/lib/python3.7/site-packages${PYTHONP= ATH:+:}$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 right away: export = PYTHONPATH=3D"/home/rob/.guix-profile/lib/python3.7/site-packages${PYTHONP= ATH:+:}$PYTHONPATH"