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 11:20:58 +0100 Message-ID: <878t1pbc6t.fsf@lassieur.org> References: <984d7a13-05d6-0f05-17ea-57d2858c016c@freenet.de> <20181118230629.GD25252@jasmine.lan> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47821) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gOgfz-0007LZ-KL for help-guix@gnu.org; Mon, 19 Nov 2018 05:21:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gOgfu-0001jG-1d for help-guix@gnu.org; Mon, 19 Nov 2018 05:21:07 -0500 Received: from mail.lassieur.org ([83.152.10.219]:36202) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gOgft-0001gB-NN for help-guix@gnu.org; Mon, 19 Nov 2018 05:21:01 -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 Hi Thorsten, This is because the result of running guix pull is a profile available under ~/.config/guix/current containing the latest Guix[1]. So you may need to make sure it is at the beginning of your search path. [1]: https://www.gnu.org/software/guix/manual/en/html_node/Invoking-guix-pull.html Thorsten Wilms writes: > On 19/11/2018 00.06, Leo Famulari wrote: >> Can you help us by clarifying exactly what is wrong? >> >> In general, using sudo without either the --preserve-env or --login >> options is not recommended, because it won't do what you want in any >> case where environment variables are involved. > > /usr/local/bin/guix and /root/.guix-profile/bin/guix keep pointing to the > original guix installation. > > I tried all of these, each time with > --commit=0a41123f01d5d2466d6f533be3644ac8c9a2bdf9: > > sudo guix pull > sudo -i guix pull > sudo -E > guix pull > > None of these changed what /usr/local/bin/guix and/or > /root/.guix-profile/bin/guix are pointing to.