[Top][All Lists]

[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: Sun, 20 Jan 2019 00:20:54 +0100

On Saturday, 19 January 2019 22:00:20 CET you wrote:
> > This means that the Guix binary from `~/.config/guix/current/` shadows the
> > one from `~/.guix-profile`.
> There shouldn’t be any “guix” package in ~/.guix-profile.
Here is what I have:

    $ cd ~/.guix-profile/bin
    $ ls | grep guix

    $ file guix guix-daemon 
    guix: symbolic link to /gnu/store/vv1kkj9aqpv1akk7l7vp2kkd695wgxcr 
    guix-daemon: symbolic link to /gnu/store/vv1kkj9aqpv1akk7l7vp2kkd695wgxcr-

    $ ./guix --version
    guix (GNU Guix) 0.16.0-8.7ba2b27

    $ guix --version
    guix (GNU Guix) 8d09e97b8cdde9dcceb2353112613a3fee63426d

So both are symlinks to items in the store, and they are distinct from the 
Guix that's in my $PATH.

> > My complete `~/.profile` file now contains
> > 
> >     source "$HOME/.guix-profile/etc/profile"
> I’d replace this with:
>     export GUIX_PROFILE=$HOME/.guix-profile
>     source $GUIX_PROFILE/etc/profile
> This ensures that the variables won’t point to specific store items but
> rather to the *current* generation (even when you upgrade).
OK, got it.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]