From: Chris Marusich <cmmarusich@gmail.com>
To: Pierre Neidhardt <ambrevar@gmail.com>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: guix gc: smarter collection & guix.el manual deletion
Date: Fri, 27 Jul 2018 02:52:43 -0700 [thread overview]
Message-ID: <87h8klrono.fsf@gmail.com> (raw)
In-Reply-To: <876012bfnf.fsf@gmail.com> (Pierre Neidhardt's message of "Thu, 26 Jul 2018 09:49:24 +0200")
[-- Attachment #1: Type: text/plain, Size: 1122 bytes --]
Pierre Neidhardt <ambrevar@gmail.com> writes:
> I run GuixSD on a rather small partition (<25GB) and quite often the
> partition gets full during a transation and I end up having to clean up
> the store (e.g. "guix gc -F5G").
>
> The problem is that more often than not, "guix gc" will remove store
> items that are almost always needed for the next transaction, which
> results in a huge re-update of those newly missing packages. What a
> waste of time...
>
> It would be nice if "guix gc" would be a bit smarter and remove items
> that are less likely to be needed for the next transaction.
You might be interested in the following guix-daemon options:
--gc-keep-derivations[=yes/no]
tell whether the GC must keep derivations
corresponding to live outputs
--gc-keep-outputs[=yes/no] tell whether the GC must keep outputs of
live derivations
Perhaps by setting them to "yes", you can avoid collecting store items
that you'd rather keep around. I think these default to "no".
--
Chris
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
next prev parent reply other threads:[~2018-07-27 9:52 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-26 7:49 guix gc: smarter collection & guix.el manual deletion Pierre Neidhardt
2018-07-27 9:52 ` Chris Marusich [this message]
2018-07-27 19:42 ` Pierre Neidhardt
2018-07-28 10:17 ` Chris Marusich
2018-07-28 10:29 ` Pierre Neidhardt
2018-07-29 12:06 ` Chris Marusich
2018-07-29 17:33 ` Pierre Neidhardt
2018-07-29 17:48 ` Efraim Flashner
2018-07-29 18:01 ` Pierre Neidhardt
2018-07-29 23:37 ` Ludovic Courtès
2018-07-30 6:54 ` Pierre Neidhardt
2018-07-28 9:21 ` Chris Marusich
2018-07-28 9:57 ` Pierre Neidhardt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h8klrono.fsf@gmail.com \
--to=cmmarusich@gmail.com \
--cc=ambrevar@gmail.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).