help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to Rescue GuixSD when guile and guix arebroken?


From: znavko
Subject: Re: How to Rescue GuixSD when guile and guix arebroken?
Date: Fri, 21 Sep 2018 17:43:35 +0000

Hello, Ricardo Wurmus!
>
> Oh, you have “guix” installed with Guix…? Could you please show me the
> output of “which guix”? You should be using
> ~/.config/guix/current/bin/guix — that directory should be first on
> PATH, and you probably shouldn’t install the “guix” package itself,
> because it will necessarily be older than the version of Guix you used
> to install it.
>



# which guix
/root/.config/guix/current/bin/guix
# echo $PATH
/root/.config/guix/current/bin:/root/.guix-profile/bin:/root/.guix-profile/sbin:/root/.guix-profile/bin:/run/setuid-programs:/run/current-system/profile/bin:/run/current-system/profile/sbin

So, I can run `guix pull` ?
One more question. Often I have troubles that installed by root packages are 
not visible for root. I think this is because of PATH. So I have added this to 
/root/.bashrc , as these instructions appeared while I run `guix package -i 
ATOM` :

# tail -n 6 /root/.bashrc

# my
export PATH="/root/.guix-profile/bin${PATH:+:}$PATH"
export PATH="/root/.guix-profile/bin:/root/.guix-profile/sbin${PATH:+:}$PATH"
export PATH="/root/.config/guix/current/bin${PATH:+:}$PATH"

Is it right way? Does it work, when I run `su`?


PS. Hope my mail will not appear in Maillist archive.



reply via email to

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