unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Felix Lechner via <help-guix@gnu.org>
To: Leo Famulari <leo@famulari.name>, Zack Weinberg <zack@owlfolio.org>
Cc: help-guix@gnu.org
Subject: Re: "guix system reconfigure" downloads 2G of stuff it doesn't need
Date: Thu, 01 Aug 2024 16:45:16 -0700	[thread overview]
Message-ID: <87le1f7qpf.fsf@lease-up.com> (raw)
In-Reply-To: <ZqvyX6zFqmo-eC1R@jasmine.lan>

Hi Leo,

On Thu, Aug 01 2024, Leo Famulari wrote:

>> [...] and, equally importantly, why they are _not_ considered
>> necessary by "guix gc"?
>
> The short answer is "to save disk space at the potential cost of
> increased network usage".

I am not sure I agree with your framing.  While adjustments to the
garbage collector may prevent downloads, I believe some prerequisites
are undeclared (although I cannot say which ones or why).

Like Zack, I think 'guix gc' should not remove items needed to
reconfigure a system or to reinstall the bootloader, at least not for
the current system generation.

> you can run the guix-daemon with the argument "--gc-keep-outputs=yes",
> and maybe also "--gc-keep-derivations=yes":

I have been doing that, but in my estimation what is being kept exceeds
what's needed by a wide degree.

Kind regards
Felix


  reply	other threads:[~2024-08-01 23:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-29 14:31 "guix system reconfigure" downloads 2G of stuff it doesn't need Zack Weinberg
2024-07-30 14:43 ` Leo Famulari
2024-07-30 17:56   ` Zack Weinberg
2024-08-01 20:38     ` Leo Famulari
2024-08-01 23:45       ` Felix Lechner via [this message]
2024-08-02 11:53         ` Marek Paśnikowski
2024-08-02 17:58           ` Felix Lechner via
2024-08-02 19:04             ` Marek Paśnikowski
2024-08-06  8:52     ` Marek Paśnikowski

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=87le1f7qpf.fsf@lease-up.com \
    --to=help-guix@gnu.org \
    --cc=felix.lechner@lease-up.com \
    --cc=leo@famulari.name \
    --cc=zack@owlfolio.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.
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).