From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: How to remove old (test) builds from store? Date: Thu, 02 Jun 2016 23:06:29 +0200 Message-ID: <87eg8f2td6.fsf@gnu.org> References: <575006ED.6000607@crazy-compilers.com> <87k2i7q223.fsf@member.fsf.org> <87fusv94tg.fsf@gnu.org> <57502BD0.1030009@crazy-compilers.com> <57503449.9050200@crazy-compilers.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40136) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8Zp7-0006Mn-SO for help-guix@gnu.org; Thu, 02 Jun 2016 17:06:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b8Zp3-00017u-IR for help-guix@gnu.org; Thu, 02 Jun 2016 17:06:36 -0400 In-Reply-To: <57503449.9050200@crazy-compilers.com> (Hartmut Goebel's message of "Thu, 2 Jun 2016 15:27:37 +0200") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Hartmut Goebel Cc: help-guix Hartmut Goebel 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 =E2=80=98guix gc -F 4G=E2=80=99 or similar, which removes jus= t 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 =E2=80=9Cneed=E2=80=9D to be downloaded again only if you want to rebu= ild 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 =E2=80=98guix build -r=E2=80=99. Ludo=E2=80=99.