From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brett Gilio Subject: Re: Eliminate environment variable hints? Date: Mon, 18 Feb 2019 16:02:43 -0600 Message-ID: <87k1hw92m4.fsf@posteo.net> References: <87a7iswyki.fsf@elephly.net> 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]:58680) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvrAq-0005d1-Nc for guix-devel@gnu.org; Mon, 18 Feb 2019 17:14:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvr01-0006xg-Ks for guix-devel@gnu.org; Mon, 18 Feb 2019 17:02:55 -0500 Received: from mout02.posteo.de ([185.67.36.66]:35437) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gvqzy-0006vf-75 for guix-devel@gnu.org; Mon, 18 Feb 2019 17:02:52 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 9CEB02400E5 for ; Mon, 18 Feb 2019 23:02:46 +0100 (CET) In-reply-to: <87a7iswyki.fsf@elephly.net> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ricardo Wurmus Cc: guix-devel@gnu.org Ricardo Wurmus writes: > Hi Guix, > > when installing a package into a profile Guix very helpfully tells you > that you may need to set certain environment variables. It doesn=E2=80= =99t tell > you that these environment variables can also be set by source=E2=80=99in= g the > generated etc/profile file. > > I have seen the bashrc and bash_profile files of many users and they are > usually full of conflicting environment variable definitions. In these > files I often also see these Guix recommendations. > > I think Guix should suggest sourcing the generated etc/profile file > instead of listing explicit environment variable definitions. It would > be less noisy and less confusing, in my opinion. > > What do you think? > > (What about people who don=E2=80=99t use Bash?) I think this is a good idea. It may also be worth mentioning that these suggestions can also be set in environments using the --search-paths flag. I know that is said in the documentation, but maybe it could be highlighted somehow? Brett Gilio