help-guix
[Top][All Lists]
Advanced

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

Re: Garbage Collector


From: Felix Lechner
Subject: Re: Garbage Collector
Date: Mon, 25 Jul 2022 08:20:54 -0700

Hi,

On Mon, Jul 25, 2022 at 2:52 AM Gottfried <gottfried@posteo.de> wrote:
>
> The manual says that it is dangerous to use: "guix gc"
> because it can delete too much.

I agree that 'guix gc' deletes too much, but it's probably not
dangerous. You will just see some downloads and builds repeated when
reconfiguring later.

I believe 'guix gc' deletes items that are not garbage to me (but I am
new to Guix). Based on friendly advice I received, I currently use
these settings:

(guix-service-type
  config => (guix-configuration
    (inherit config)
    (extra-options (list "--gc-keep-derivations=yes" "--gc-keep-outputs=yes"))
...

Kind regards
Felix Lechner



reply via email to

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