[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: I don't understand profiles and directories
From: |
HiPhish |
Subject: |
Re: I don't understand profiles and directories |
Date: |
Sat, 19 Jan 2019 18:55:33 +0100 |
On Saturday, 19 January 2019 18:05:03 CET you wrote:
> I don’t think so. It should print a file name.
The message must have cut off, there was a full file path into `/gnu/
store/...`.
> > Should I change my `.profile` file to be like this instead?
> >
> > source "$HOME/.guix-profile/etc/profile"
> > export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"
> > export PATH="$HOME/.config/guix/current/bin:$PATH"
> > export INFOPATH="$HOME/.config/guix/current/share/info:$INFOPATH"
> >
> > I.e. first source the Guix profile, which will add itself to the `$PATH`,
> > and then add the path to the other profile.
>
> Yes.
OK, now it seems to work. Just to re-iterate, the Guix binary I'm going to
invoke from the command line (`guix`) comes from this profile `~/.config/guix/
current/`, while all my packages are in the `~/.guix-profile` profile, correct?
This means that the Guix binary from `~/.config/guix/current/` shadows the one
from `~/.guix-profile`.
My complete `~/.profile` file now contains
source "$HOME/.guix-profile/etc/profile"
export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"
export PATH="$HOME/.config/guix/current/bin:$PATH"
export INFOPATH="$HOME/.config/guix/current/share/info:$INFOPATH"
# SSL certificates (after installing 'nss-certs')
export SSL_CERT_DIR="$HOME/.guix-profile/etc/ssl/certs"
export SSL_CERT_FILE="$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt"
export GIT_SSL_CAINFO="$SSL_CERT_FILE"
and `which guix` prints
/home/username/.config/guix/current/bin/guix
- I don't understand profiles and directories, HiPhish, 2019/01/19
- Re: I don't understand profiles and directories, Ricardo Wurmus, 2019/01/19
- Re: I don't understand profiles and directories, HiPhish, 2019/01/19
- Re: I don't understand profiles and directories, Ricardo Wurmus, 2019/01/19
- Re: I don't understand profiles and directories,
HiPhish <=
- Re: I don't understand profiles and directories, Ricardo Wurmus, 2019/01/20
- Re: I don't understand profiles and directories, HiPhish, 2019/01/19
- Re: I don't understand profiles and directories, Ricardo Wurmus, 2019/01/19
- Re: I don't understand profiles and directories, HiPhish, 2019/01/19