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:
parent
dd4a86207e
commit
507c71d629
@ -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\" \\
|
||||
|
Loading…
Reference in New Issue
Block a user