me
/
guix
Archived
1
0
Fork 0

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.
master
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. # Prepend setuid programs.
export PATH=/run/setuid-programs:$PATH export PATH=/run/setuid-programs:$PATH
if [ -d \"$HOME/.guix-profile\" ] if [ -f \"$HOME/.guix-profile/etc/profile\" ]
then then
# Load the user profile's settings. # Load the user profile's settings.
GUIX_PROFILE=\"$HOME/.guix-profile\" \\ GUIX_PROFILE=\"$HOME/.guix-profile\" \\