mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06:00
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 50a2d73eac.
* guix/scripts/package.scm (display-search-path-hint): Add unset GUIX_PROFILE
to displayed hint.
Change-Id: Ie1564750017dde8bf896c79e463067699df709eb
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Merges: #5118
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
This commit is contained in:
parent
f75737f42c
commit
9f47269602
1 changed files with 1 additions and 0 deletions
|
|
@ -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}.")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue