summaryrefslogtreecommitdiff
path: root/gnu/system.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/system.scm')
-rw-r--r--gnu/system.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/system.scm b/gnu/system.scm
index 8df871f255..0d98e5a036 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -1089,8 +1089,11 @@ then
export `cat /etc/environment | cut -d= -f1`
fi
-# Arrange so that ~/.config/guix/current comes first.
-for profile in \"$HOME/.guix-profile\" \"$HOME/.config/guix/current\"
+# Arrange so that ~/.config/guix/current comes first,
+# and guix-home comes before guix-profile.
+for profile in \"$HOME/.guix-profile\" \\
+ \"$HOME/.guix-home/profile\" \\
+ \"$HOME/.config/guix/current\"
do
if [ -f \"$profile/etc/profile\" ]
then