summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gnu/system.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/system.scm b/gnu/system.scm
index 104b223539..66574c10cb 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -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\" \\