[Top][All Lists]

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

Re: Ever-growing store with --gc-keep-outputs?

From: Mark H Weaver
Subject: Re: Ever-growing store with --gc-keep-outputs?
Date: Fri, 14 Sep 2018 17:34:34 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Pierre Neidhardt <address@hidden> 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.


>> (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?


reply via email to

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