[Top][All Lists]

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

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

From: Ludovic Courtès
Subject: Re: Ever-growing store with --gc-keep-outputs?
Date: Fri, 14 Sep 2018 11:51:54 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Pierre Neidhardt <address@hidden> skribis:

>> Not yet!  You could do it manually roughly by (1) listing the referrers
>> of the store item, recursively, and (2) finding the symlinks in
>> /var/guix/gcroots that point to one of these.
> In the example in my first message, the referrers of the .drv are either
> non-existent or the .drv itself.  In this case, there should be no GC root 
> then,
> right?  Why is the item considered alive?

It’s considered live because you’re using
--gc-keep-outputs/--gc-keep-derivations, which modify the way the GC
determines whether an object is live.

If, say, “coreutils” is live, then the corresponding “coreutils.drv”
will be considered live as well when you pass --gc-keep-derivations.


reply via email to

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