unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* What should ~/.profile look like after running "guix pull"?
@ 2021-10-05  4:12 Tim Lee
  0 siblings, 0 replies; only message in thread
From: Tim Lee @ 2021-10-05  4:12 UTC (permalink / raw)
  To: help-guix

I installed GNU Guix 1.3.0 binary using the tarball downloaded from
https://guix.gnu.org/download/
After the installation process, I added these lines to my ~/.profile:

    GUIX_PROFILE="$HOME/.guix-profile"
    [ -d "$GUIX_PROFILE" ] && \
        . "$GUIX_PROFILE/etc/profile"

I recently ran "guix pull" to upgrade my packages. At the end of
"guix pull", there is an informative message that asks me to run
something like:

    GUIX_PROFILE="/home/myusername/.config/guix/current"
    . "$GUIX_PROFILE/etc/profile"

However, the documentation about "guix pull" in the Guix manual
(https://guix.gnu.org/manual/en/html_node/Invoking-guix-pull.html) says
that I should add this to ~/.profile:

    export PATH="$HOME/.config/guix/current/bin:$PATH"
    export INFOPATH="$HOME/.config/guix/current/share/info:$INFOPATH"

I have some questions:

1. What exactly should I place in ~/.profile to accommodate Guix?
2. Is the answer to question (1) the same before and after running
   "guix pull"?
       (By "before", I mean a version of Guix binary downloaded from
       https://guix.gnu.org/download/. By "after", I mean the latest
       version of Guix obtained by running "guix pull").


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-05 12:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-05  4:12 What should ~/.profile look like after running "guix pull"? Tim Lee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).