Andreas Enge <andr...@enge.fr> writes: > Am Sat, May 31, 2025 at 11:13:00AM +0200 schrieb Rutherther: >> > executing the command. So if you executed it as a normal user, you >> > either need to run "sudo guix pull" as that user >> This is not true, if you do sudo guix system reconfigure from your user, >> guix from the user is used as per default configuration of sudo on guix >> system - PATH is passed. > > Sorry, this was a disastrous typo, I meant to say exactly what you write! > If you do "guix pull" as a user only, you then need to do > "sudo guix system reconfigure" as the same user.
I see, makes sense! > > People have suggested "sudo -E ...", but since sudo is not my approach, > I do not know the different options to recommend one or the other. sudo -E can help in managing the size of cached checkouts, but on the other hand you can end up with root-owned files in user's home. I came up with a different approach to share checkouts that I described here: https://ruther.ditigal.xyz/posts/shared-guix-checkout/ and I would recommend that rather than using sudo -E. > > Andreas Rutherther