Subject: [PATCH] system: default-bash-profile: Add Guix Home search paths as well.
From: Florian Pelz <[email-masked]>
To: [email-masked]
Cc: Florian Pelz <[email-masked]>
Date: Wed, 14 Feb 2024 14:03:05 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Ordinary .guix-profile is searched already.  Also this makes desktop
environments find packages installed in Guix Home.

* gnu/system/shadow.scm (%default-bash-profile): Add Home search paths.
---
 gnu/system/shadow.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/system/shadow.scm b/gnu/system/shadow.scm
index 8b3958ba5c..d9f13271d8 100644
--- a/gnu/system/shadow.scm
+++ b/gnu/system/shadow.scm
@@ -165,6 +165,7 @@ (define %default-bash-profile
 # Merge search-paths from multiple profiles, the order matters.
 eval \"$(guix package --search-paths \\
 -p $HOME/.config/guix/current \\
+-p $HOME/.guix-home/profile \\
 -p $HOME/.guix-profile \\
 -p /run/current-system/profile)\"

base-commit: 240bbfee8deb7b6b746dffee7204dea7051dced8
-- 
2.41.0