~ruther/guix-local

507c71d629d6aacf47e03a94eaf0c6b9ef45c367 — Ludovic Courtès 11 years ago dd4a862
system: Check whether ~/.guix-profile/etc/profile exists.

* gnu/system.scm (etc-directory)[profile]: Check for
  ~/.guix-profile/etc/profile rather than just ~/.guix-profile.
1 files changed, 1 insertions(+), 1 deletions(-)

M gnu/system.scm
M gnu/system.scm => gnu/system.scm +1 -1
@@ 484,7 484,7 @@ source /run/current-system/profile/etc/profile
# Prepend setuid programs.
export PATH=/run/setuid-programs:$PATH

if [ -d \"$HOME/.guix-profile\" ]
if [ -f \"$HOME/.guix-profile/etc/profile\" ]
then
  # Load the user profile's settings.
  GUIX_PROFILE=\"$HOME/.guix-profile\" \\