diff mbox series

[bug#69124] system: default-bash-profile: Add Guix Home search paths as well.

Message ID 20240214130444.16770-1-pelzflorian@pelzflorian.de
State New
Headers show
Series [bug#69124] system: default-bash-profile: Add Guix Home search paths as well. | expand

Commit Message

pelzflorian (Florian Pelz) Feb. 14, 2024, 1:03 p.m. UTC
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(+)


base-commit: 240bbfee8deb7b6b746dffee7204dea7051dced8

Comments

pelzflorian (Florian Pelz) Feb. 28, 2024, 4:13 p.m. UTC | #1
Pushed it as bc6840316c665e5959469e5c857819142cc4a47b.

Regards,
Florian
diff mbox series

Patch

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)\"