From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Cl=C3=A9ment?= Lassieur Subject: Re: Root guix dereferencing Date: Mon, 19 Nov 2018 19:27:24 +0100 Message-ID: <87wop8rkhf.fsf@lassieur.org> References: <984d7a13-05d6-0f05-17ea-57d2858c016c@freenet.de> <20181118230629.GD25252@jasmine.lan> <878t1pbc6t.fsf@lassieur.org> <87efbhnotx.fsf@lassieur.org> <30f615aa-d80d-e884-1629-a8a8fde60fee@freenet.de> <87bm6lnm3q.fsf@lassieur.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34558) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gOoGi-0004Hi-WA for help-guix@gnu.org; Mon, 19 Nov 2018 13:27:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gOoGe-0006p2-Jl for help-guix@gnu.org; Mon, 19 Nov 2018 13:27:32 -0500 Received: from mail.lassieur.org ([83.152.10.219]:36244) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gOoGe-0006o6-Aq for help-guix@gnu.org; Mon, 19 Nov 2018 13:27:28 -0500 In-reply-to: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: t_w_@freenet.de Cc: help-guix Thorsten Wilms 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//.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=C3=A9ment. This stuff is pretty complicated anyway. You're welcome :-) Cl=C3=A9ment [1]: https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/package-m= anagement.scm#n100