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

Previous Next

Package: guix-patches;

Reported by: Florian Pelz <pelzflorian <at> pelzflorian.de>

Date: Wed, 14 Feb 2024 13:07:01 UTC

Severity: normal

Tags: patch

Done: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Florian Pelz <pelzflorian <at> pelzflorian.de>
To: guix-patches <at> gnu.org
Cc: Florian Pelz <pelzflorian <at> pelzflorian.de>
Subject: [PATCH] system: default-bash-profile: Add Guix Home search paths as
 well.
Date: Wed, 14 Feb 2024 14:03:05 +0100
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





This bug report was last modified 1 year and 86 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.