[Top][All Lists]

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

Re: How to remove old (test) builds from store?

From: Ludovic Courtès
Subject: Re: How to remove old (test) builds from store?
Date: Thu, 02 Jun 2016 23:06:29 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Hartmut Goebel <address@hidden> skribis:

> Am 02.06.2016 um 14:56 schrieb Thompson, David:
>> Then just run 'guix gc' and it will remove everything that isn't
>> currently included in a profile.
> This would remove much too much :-)

I usually run ‘guix gc -F 4G’ or similar, which removes just as much as
needed.  That works rather well for me.

> I have quite some package to work on, including those with patches
> pending for inclusion. The dependencies of these packages are not in a
> profile (yet). Now when running `guix gc`, many packages need to be
> downloaded again a few minutes later.

They “need” to be downloaded again only if you want to rebuild them,
yet without adding them to a profile or making them a GC root.  :-)

When needed, you can explicitly protect things from GC using profiles,
or using ‘guix build -r’.


reply via email to

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