unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#45295: “sudo guix system reconfigure” triggers re-clone/update of Git checkout
@ 2020-12-17 14:01 Ludovic Courtès
  2021-01-17 22:06 ` Ludovic Courtès
  2022-01-09 19:55 ` bug#45295: Alternative Jorge Acereda
  0 siblings, 2 replies; 5+ messages in thread
From: Ludovic Courtès @ 2020-12-17 14:01 UTC (permalink / raw)
  To: 45295

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’.




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-01-09 20:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-17 14:01 bug#45295: “sudo guix system reconfigure” triggers re-clone/update of Git checkout Ludovic Courtès
2021-01-17 22:06 ` Ludovic Courtès
2022-01-09 19:55 ` bug#45295: Alternative Jorge Acereda
2022-01-09 20:17   ` Maxime Devos
2022-01-09 20:19   ` Maxime Devos

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).