unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Tim Lee <progscriptclone@gmail.com>
To: help-guix@gnu.org
Subject: What should ~/.profile look like after running "guix pull"?
Date: Tue, 5 Oct 2021 12:12:08 +0800	[thread overview]
Message-ID: <20211005041208.tjkxvomzi36vquvx@localhost> (raw)

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").


                 reply	other threads:[~2021-10-05 12:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211005041208.tjkxvomzi36vquvx@localhost \
    --to=progscriptclone@gmail.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).