On Sun, 2025-03-23 at 10:04 -0700, Vagrant Cascadian wrote:
> 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...

I searched the history of the documentation and then the repository for
mentioning of "sudo -E guix …" But it seems that the recommendation has
not made it into the documentation in the first place ever since the
repository started, which is some time in 2012.

$ git log -p -- doc/ | grep -F "sudo -E guix"
$ git log -p | grep -F "sudo -E guix"

When I started using guix, I just followed the documentation. Maybe,
the documentation should be updated? It is probably not only wasted
space but also resources and time to create a duplicate of the
checkout, which the user has.

$ sudo du -sh /root/
865M    /root/

$ sudo du -sh
/root/.cache/guix/checkouts/pjmkglp4t7znuugeurpurzikxq3tnlaywmisyr27shj
7apsnalwq
865M    /root/.cache/guix/checkouts/pjmkglp4t7znuugeurpurzikxq3tnlaywm
isyr27shj7apsnalwq

$ du -sh
.cache/guix/checkouts/pjmkglp4t7znuugeurpurzikxq3tnlaywmisyr27shj7apsna
lwq/
700M    .cache/guix/checkouts/pjmkglp4t7znuugeurpurzikxq3tnlaywmisyr27
shj7apsnalwq/

Is this expected? Why would the same checkout be different? The size is
different. The files also differ.

Roman

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to