bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#45295: “sudo guix system reconfigure” triggers re-clone/update of Gi


From: Ludovic Courtès
Subject: bug#45295: “sudo guix system reconfigure” triggers re-clone/update of Git checkout
Date: Thu, 17 Dec 2020 15:01:43 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Hi!

If you do, as a regular user:

  guix pull
  sudo guix system reconfigure …

the ‘guix system reconfigure’, as part of the downgrade-detection
machinery, triggers an update of the channel checkout(s) in
~root/.cache, even though ~USER/.cache is already up-to-date.

One way to avoid it might be to special-case the checkout cache
directory for when ‘SUDO_USER’ is set.

Thoughts?

Ludo’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]