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
parent
dd4a86207e
commit
507c71d629
|
@ -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\" \\
|
||||||
|
|
Reference in New Issue