guix_mirror_bot pushed a commit to branch master
in repository guix.
commit ffb406eb4c9183724b787614dea17ac803ffe0b7
Author: Rutherther <[email protected]>
AuthorDate: Thu Dec 25 21:49:20 2025 +0100
scripts: package: Encourage unsetting GUIX_PROFILE.
GUIX_PROFILE should typically be unset, to prevent issues when sourcing
etc/profile of other profiles. So encourage it by showing it in the hint.
Followup of 50a2d73eac1577e35b526d3fc91423b97e581aef.
* guix/scripts/package.scm (display-search-path-hint): Add unset
GUIX_PROFILE
to displayed hint.
Change-Id: Ie1564750017dde8bf896c79e463067699df709eb
Signed-off-by: Rutherther <[email protected]>
Merges: #5118
---
guix/scripts/package.scm | 1 +
1 file changed, 1 insertion(+)
diff --git a/guix/scripts/package.scm b/guix/scripts/package.scm
index a489e06e73..9d99b2a55b 100644
--- a/guix/scripts/package.scm
+++ b/guix/scripts/package.scm
@@ -326,6 +326,7 @@ variables by running:
@example
GUIX_PROFILE=\"~a\"
. \"$GUIX_PROFILE/etc/profile\"
+unset GUIX_PROFILE
@end example
Alternately, see @command{guix package --search-paths -p ~s}.")