[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "The following environment variable definitions may be needed"
From: |
Ludovic Courtès |
Subject: |
Re: "The following environment variable definitions may be needed" |
Date: |
Thu, 11 May 2017 10:55:53 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Niall Dooley <address@hidden> 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’.