Subject: Re: bug#43960:

From: Tobias Geerinckx-Rice <[email-masked]>
Date: Mon, 12 Oct 2020 19:53:01 +0200

Дмитрий Поляков 写道：
> When I type with sudo:
> lil@guix ~
> $ sudo guix pull

Never run ‘guix pull’ with sudo!

Why is explained in the manual (3.7 After System Installation). 
While guix could detect and warn about it (and I'm sure that's 
already been proposed) you should always read the manual before 
typing commands.

Please run (and post the output of):

  $ type guix
  $ ls -l ~/.config/guix/current
  $ sudo rm ~/.config/guix/current
  $ /run/current-system/profile/bin/guix pull
  $ hash guix
  $ type guix

This should print

  guix is /home/nckx/.config/guix/current/bin/guix

If so, the following command will reconfigure your system using 
your guix, not root's guix:

  $ sudo guix system reconfigure /etc/config.scm

Kind regards,

T G-R