diff options
| author | Rutherther <rutherther@ditigal.xyz> | 2025-12-25 21:49:20 +0100 |
|---|---|---|
| committer | Rutherther <rutherther@ditigal.xyz> | 2026-01-04 12:46:58 +0100 |
| commit | 9f47269602cd0e07e93e3b35a00512c769bae10a (patch) | |
| tree | d221154dfd0ef3efbe67728c84be968116088b1e | |
| parent | f75737f42c9d5aaa19d5c334768dc03a92c53f6d (diff) | |
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 <rutherther@ditigal.xyz>
Merges: #5118
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
| -rw-r--r-- | guix/scripts/package.scm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/guix/scripts/package.scm b/guix/scripts/package.scm index a489e06e731..9d99b2a55bb 100644 --- a/guix/scripts/package.scm +++ b/guix/scripts/package.scm | |||
| @@ -326,6 +326,7 @@ variables by running: | |||
| 326 | @example | 326 | @example |
| 327 | GUIX_PROFILE=\"~a\" | 327 | GUIX_PROFILE=\"~a\" |
| 328 | . \"$GUIX_PROFILE/etc/profile\" | 328 | . \"$GUIX_PROFILE/etc/profile\" |
| 329 | unset GUIX_PROFILE | ||
| 329 | @end example | 330 | @end example |
| 330 | 331 | ||
| 331 | Alternately, see @command{guix package --search-paths -p ~s}.") | 332 | Alternately, see @command{guix package --search-paths -p ~s}.") |
