unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Thorsten Wilms <t_w_@freenet.de>
To: help-guix <help-guix@gnu.org>
Subject: Re: Root guix dereferencing
Date: Mon, 19 Nov 2018 18:08:49 +0100	[thread overview]
Message-ID: <a21f4405-64ad-6aab-d403-70eeb3374e8d@freenet.de> (raw)
In-Reply-To: <87bm6lnm3q.fsf@lassieur.org>

On 19/11/2018 16.06, Clément Lassieur wrote:
> If you check ~root/.config/guix/current/bin/guix, you'll see that it's
> updated when you run 'guix pull' as root.  If you want that guix to be
> used for your 'root' user, you just need to make sure
> ~root/.config/guix/current/bin/ is first in root's $PATH.

I could bet last time I checked, there was not "current", only "latest", 
below ~root/.config/guix, but indeed, there's a recently changed 
~root/.config/guix/current/bin/guix.


> If you are using Ubuntu, you don't need to use that command though, but
> you need your systemd's guix-daemon to point to a recent guix.  It could
> be either the one updated by root's 'guix pull', or the one updated by
> your current user's 'guix pull'.  I chose the latter because I want to
> run 'guix pull' only once.

You mean edit /etc/systemd/guix-daemin.service and change 
"/var/guix/profiles/per-user/root/guix-profile/bin/guix-daemon"?

If so, to what, as there's no guix-daemon in 
/var/guix/profiles/per-user/root/guix-profile/bin/.

Is the whole reason to have /usr/local/bin/guix to make guix available 
for root without modifying root's PATH?


Things are a bit clearer now, thanks, Clément.

-- 
Thorsten Wilms

thorwil's design for free software:
http://thorwil.wordpress.com/

  reply	other threads:[~2018-11-19 17:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-17 11:17 Root guix dereferencing Thorsten Wilms
2018-11-18 23:06 ` Leo Famulari
2018-11-19  9:12   ` Thorsten Wilms
2018-11-19 10:20     ` Clément Lassieur
2018-11-19 11:47       ` Thorsten Wilms
2018-11-19 14:07         ` Clément Lassieur
2018-11-19 14:32           ` Thorsten Wilms
2018-11-19 15:06             ` Clément Lassieur
2018-11-19 17:08               ` Thorsten Wilms [this message]
2018-11-19 18:27                 ` Clément Lassieur

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=a21f4405-64ad-6aab-d403-70eeb3374e8d@freenet.de \
    --to=t_w_@freenet.de \
    --cc=help-guix@gnu.org \
    /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).