On 2025-03-23, Rutherther wrote: > "Thomas Ieong" <th.ie...@free.fr> writes: >> I have a guix system setup and I was wondering if it was necessary to guix >> pull from times to times with the root user. >> >> My understanding was that guix pull with your regular user was enough with >> sudo guix system reconfigure <your-conf.scm> > > Yes, exactly. sudo will use the guix from your user's path, so root's > guix is not used for this.
I have noticed that "sudo guix system reconfigure ..." does work, but it needlessly populates /root/.cache/guix with duplicate cruft which over time gets to be sizeable. Using "sudo -E guix system reconfigure ..." does not seem to have this side-effect. At some point years ago the standard advice switched from "sudo -E guix system reconfigure ..." to "sudo guix system reconfigure ..." but maybe somewhere a regression was introduced, or it was subtle enough that nobody noticed? I only noticed recently running on some diskspace constrained systems... live well, vagrant
signature.asc
Description: PGP signature