[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#56618] [PATCH 0/2] Let 'guix gc -d' delete old Home generations
From: |
Ludovic Courtès |
Subject: |
[bug#56618] [PATCH 0/2] Let 'guix gc -d' delete old Home generations |
Date: |
Fri, 22 Jul 2022 14:20:35 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) |
Hello,
Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:
> Ludovic Courtès <ludo@gnu.org> writes:
[...]
>> It’s an expected annoyance: to determine whether a graft needs to be
>> applied, we first need to download/build the ungrafted variant, which is
>> why you’re seeing this (this is worsened by the fact that many packages
>> are candidates for grafting currently on ‘master’).
>
> A perhaps naive idea: could we register GC roots for the ungrafted
> variant when grafted? To avoid having to fetch it anew following 'guix
> gc' ?
And then we need code to remove those GC roots at some point, etc. To
me that seems like a can of worms and lack of separation of concerns.
A related topic is GC. If personally only ever use ‘guix gc -F25G’ or
similar; I almost never run ‘guix gc’ without arguments. Perhaps we
should more clearly advocate that and/or have a Guix System service
enabled by default that does something along these lines.
Thoughts?
Ludo’.
bug#56618: [PATCH 0/2] Let 'guix gc -d' delete old Home generations, Ludovic Courtès, 2022/07/22