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.
This commit is contained in:
Ludovic Courtès 2015-05-07 09:43:59 +02:00
parent dd4a86207e
commit 507c71d629
1 changed files with 1 additions and 1 deletions

View File

@ -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\" \\