From: "Clément Lassieur" <clement@lassieur.org>
To: t_w_@freenet.de
Cc: help-guix <help-guix@gnu.org>
Subject: Re: Root guix dereferencing
Date: Mon, 19 Nov 2018 19:27:24 +0100 [thread overview]
Message-ID: <87wop8rkhf.fsf@lassieur.org> (raw)
In-Reply-To: <a21f4405-64ad-6aab-d403-70eeb3374e8d@freenet.de>
Thorsten Wilms <t_w_@freenet.de> writes:
>> 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"?
Well... The problem with the default one is that it's not updated by
'guix pull', rather it's updated when root's guix package[1] is updated
(that is: less often). It's not a big deal though, because
'guix-daemon' is very stable, rarely changed.
(Actually, there is no difference at the moment, because I believe 'guix
pull' uses the daemon of the guix package. But there might be a
difference in the future.)
tldr: you don't need to change your guix-daemon :/
> If so, to what, as there's no guix-daemon in
> /var/guix/profiles/per-user/root/guix-profile/bin/.
To /home/<your-user>/.config/guix/current/bin/guix-daemon or
/root/.config/guix/current/bin/guix-daemon, depending on whether you
want to use your user's Guix-daemon or root's Guix-daemon.
But your current situation is fine :)
> Is the whole reason to have /usr/local/bin/guix to make guix available for
> root without modifying root's PATH?
The reason is to make the 'guix' command available to every user,
because /usr/local/bin is supposedly in every user's PATH. You don't
need it anymore if all your users already have their own 'guix' command.
> Things are a bit clearer now, thanks, Clément.
This stuff is pretty complicated anyway. You're welcome :-)
Clément
[1]: https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/package-management.scm#n100
prev parent reply other threads:[~2018-11-19 18:27 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
2018-11-19 18:27 ` Clément Lassieur [this message]
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=87wop8rkhf.fsf@lassieur.org \
--to=clement@lassieur.org \
--cc=help-guix@gnu.org \
--cc=t_w_@freenet.de \
/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).