From mboxrd@z Thu Jan  1 00:00:00 1970
From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=)
Subject: Re: "The following environment variable definitions may be needed"
Date: Thu, 11 May 2017 10:55:53 +0200
Message-ID: <87tw4rvkkm.fsf@gnu.org>
References: <87lgq5p8al.fsf@gmail.com> <87shkcvs33.fsf@gnu.org>
	<86ziekygnu.fsf@gmail.com>
	<CADS3Lq6dPNqFVq1o1BFUgAFxR1FDBzvUu4HB3_4pVJ+6KH36_w@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Return-path: <help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org>
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55822)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <ludo@gnu.org>) id 1d8jtA-0002R7-HA
	for help-guix@gnu.org; Thu, 11 May 2017 04:56:01 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <ludo@gnu.org>) id 1d8jt6-0001zB-Iz
	for help-guix@gnu.org; Thu, 11 May 2017 04:56:00 -0400
In-Reply-To: <CADS3Lq6dPNqFVq1o1BFUgAFxR1FDBzvUu4HB3_4pVJ+6KH36_w@mail.gmail.com>
	(Niall Dooley's message of "Wed, 10 May 2017 22:49:44 +0100")
List-Id: <help-guix.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/help-guix>,
	<mailto:help-guix-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/help-guix/>
List-Post: <mailto:help-guix@gnu.org>
List-Help: <mailto:help-guix-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/help-guix>,
	<mailto:help-guix-request@gnu.org?subject=subscribe>
Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org
Sender: "Help-Guix" <help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org>
To: Niall Dooley <dooleyn@gmail.com>
Cc: myglc2 <myglc2@gmail.com>, help-guix <help-guix@gnu.org>

Niall Dooley <dooleyn@gmail.com> skribis:

> This too has confused me so perhaps an update of the manual is in order. =
Like
> others I too followed the instructions in the manual
> (https://www.gnu.org/software/guix/manual/guix.html#Invoking-guix-package)
> and have the following
> in my .bashrc (my system (a foreign distro - Trisquel 7) doesn't have a
> .bash_profile but only a .profile which sources .bashrc):

You should source ~/.guix-profile/etc/profile from .profile or
.bash_profile, not .bashrc, so that it is sourced only once when you log
in.

If you source it from .bashrc, it ends up being sourced every time you
spawn a new shell, leading to duplicate entries in PATH,
GUILE_LOAD_PATH, etc.

HTH!

Ludo=E2=80=99.