From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: Ever-growing store with --gc-keep-outputs? Date: Fri, 14 Sep 2018 17:34:34 -0400 Message-ID: <87ftybhifp.fsf@netris.org> References: <87y3c74zoa.fsf@ambrevar.xyz> <87a7olpxvt.fsf@gnu.org> <87lg857nfd.fsf@ambrevar.xyz> <87woroieyt.fsf@gnu.org> <87y3c45ou5.fsf@ambrevar.xyz> <87o9d0geez.fsf@netris.org> <87tvms555s.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59851) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g0vlG-0003JD-7V for help-guix@gnu.org; Fri, 14 Sep 2018 17:36:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g0vlC-0006BW-7l for help-guix@gnu.org; Fri, 14 Sep 2018 17:36:22 -0400 In-Reply-To: <87tvms555s.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Fri, 14 Sep 2018 20:02:07 +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: Pierre Neidhardt Cc: Guix-Help Pierre Neidhardt writes: >> it works well in my preferred mode of operation where I >> build everything locally and never use substitutes. > > Do substitutes change the way GC behaves? I use substitutes. No. However, if you build everything locally, it becomes more important to avoid deleting store items that will be needed to build your next system update, and so the --gc-keep-* flags become important. >> (1) update my user profiles and delete old generations >> (2) delete older generations in /var/guix/profiles (but always >> keeping the one referenced by /run/booted-system!) > > You mean system generations? I did that. Right. >> (3) reconfigure the system to remove the old system profiles from >> grub.cfg >> (4) guix gc > > I did all this. Then ghc-pandoc and all the ghc dependencies did not go. What is the output of "guix gc --referrers /gnu/store/xxxxx.drv" when applied to the .drv file for ghc-pandoc? Mark