all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: HiPhish <hiphish@posteo.de>
Cc: help-guix@gnu.org
Subject: Re: I don't understand profiles and directories
Date: Sat, 19 Jan 2019 17:27:47 +0100	[thread overview]
Message-ID: <874la4fw8s.fsf@elephly.net> (raw)
In-Reply-To: <5333814.JLzRfVLkOs@aleksandar-ixtreme-m5740>


HiPhish <hiphish@posteo.de> writes:

> Is `$HOME/.config/guix/current` another profile?

Yes.  It is the profile that “guix pull” uses to install Guix and
nothing more than that.

>     source "$HOME/.guix-profile/etc/profile"

This sets all environment variables that Guix suggests to set when you
install packages.

>     export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"

On a foreign distro you need this, yes.

>     export XDG_DATA_DIRS="$HOME/.guix-profile/share:${XDG_DATA_DIRS}"

You don’t need this as it will be set by sourcing etc/profile if
necessary.  (Guix would have added it to etc/profile if it was required.)

>     The following environment variable definitions may be needed:
>        export PATH="/home/username/.guix-profile/bin${PATH:+:}$PATH"
>        export GUILE_LOAD_PATH="/home/username/.guix-profile/share/guile/site/
> 2.2${GUILE_LOAD_PATH:+:}$GUILE_LOAD_PATH"
>        export GUILE_LOAD_COMPILED_PATH="/home/username/.guix-profile/lib/guile/
> 2.2/site-ccache:/home/username/.guix-profile/share/guile/site/2.2$
> {GUILE_LOAD_COMPILED_PATH:+:}$GUILE_LOAD_COMPILED_PATH"

You can ignore this when you’re using Bash and you’re source’ing
$GUIX_PROFILE/etc/profile, because that file will contain all of these
recommendations.

> and running `guix --version` shows me 0.15 again.

What “guix” are you using?  What does “which guix” tell you?

--
Ricardo

  reply	other threads:[~2019-01-19 16:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-19 16:13 I don't understand profiles and directories HiPhish
2019-01-19 16:27 ` Ricardo Wurmus [this message]
2019-01-19 16:54   ` HiPhish
2019-01-19 17:05     ` Ricardo Wurmus
2019-01-19 17:55       ` HiPhish
2019-01-19 21:00         ` Ricardo Wurmus
2019-01-19 23:20           ` HiPhish
2019-01-19 23:31             ` Ricardo Wurmus
2019-01-19 23:34               ` HiPhish

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

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

  git send-email \
    --in-reply-to=874la4fw8s.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=help-guix@gnu.org \
    --cc=hiphish@posteo.de \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.