unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: znavko <znavko@protonmail.com>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: "help-guix\\@gnu.org" <help-guix@gnu.org>
Subject: Re: How to Rescue GuixSD when guile and guix arebroken?
Date: Fri, 21 Sep 2018 17:43:35 +0000	[thread overview]
Message-ID: <BoafCF1NsKjFzBx5jBhfHYnMCp5qTE8vILE7PszhQeefcQYSMNOY8OcsA0mnFfvFZQTG7YiXnJDRxprwADv67-4xKqHrXRws2aFQIgtNe2E=@protonmail.com> (raw)
In-Reply-To: <87sh22u93g.fsf@elephly.net>

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	other threads:[~2018-09-21 17:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-21 12:06 How to Rescue GuixSD when guile and guix arebroken? znavko
2018-09-21 13:17 ` Ricardo Wurmus
2018-09-21 14:57   ` znavko
2018-09-21 16:08     ` Ricardo Wurmus
2018-09-21 17:43       ` znavko [this message]
2018-09-24 15:33         ` Ludovic Courtès

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to='BoafCF1NsKjFzBx5jBhfHYnMCp5qTE8vILE7PszhQeefcQYSMNOY8OcsA0mnFfvFZQTG7YiXnJDRxprwADv67-4xKqHrXRws2aFQIgtNe2E=@protonmail.com' \
    --to=znavko@protonmail.com \
    --cc=help-guix@gnu.org \
    --cc=rekado@elephly.net \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).