[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Guix on a foreign distro (Mint) - List of packages is outdated and n
Re: Guix on a foreign distro (Mint) - List of packages is outdated and not updatable
Sun, 05 May 2019 19:57:13 -0700
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
melon <address@hidden> writes:
> 'echo $PATH'
> Gave me a very messy output. Apparently things like '.guix-profile/bin',
> '.guix-profile/sbin' and '/usr/bin' were all shown multiple times. I
> changed it to the following (by editing ~/.bashrc):
> After restarting BASH and running 'guix pull', all my packages are
> once again up to date. Thank you again!
I'm glad to hear this solved your problem. I just wanted to add some
information you might find useful. When using Guix, you do not need to
set the PATH explicitly like this, but there is no harm in doing so if
you want to. You can also write something like this instead:
Whenever Guix generates a profile, by default a "profile hook" will run
that generates this etc/profile file. This file contains shell commands
which set up all the environment variables you need in order to
"activate" the profile. This includes PATH. The nice thing about this
is that if you source this file in a place like ~/.bash_profile (or
similar), then whenever you log in, you'll always get the right
environment variables for your profile, regardless of what software
On a Guix System, both your $HOME/.guix-profile and
$HOME/.config/guix/current profiles will be "activated" automatically in
this manner (see: /etc/profile), but on a foreign distro, you have to do
this yourself by adding the appropriate lines to a shell start-up file.
I hope that perhaps this information helps simplify your configuration!
Description: PGP signature
|[Prev in Thread]
||[Next in Thread]|
- Re: Guix on a foreign distro (Mint) - List of packages is outdated and not updatable,
Chris Marusich <=