From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 2PppLJbksWYxWAEA62LTzQ:P1 (envelope-from ) for ; Tue, 06 Aug 2024 08:53:42 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 2PppLJbksWYxWAEA62LTzQ (envelope-from ) for ; Tue, 06 Aug 2024 10:53:42 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=marekpasnikowski.pl header.s=dkim header.b=nXLLHQnM; dmarc=pass (policy=reject) header.from=marekpasnikowski.pl; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1722934422; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=lWI/CV4l0TvPJJnEYzQ951abr+1xvdTnGUQUt8gQxS4=; b=CNaOtmg3YKGKedhV23Ye7Y33LdR1pCX3sIkbdYRDwNe4+nif+2UIeGh+zuS2mwh6Q2C4r7 Evx4QiuCnZmO3OBnVmV/KBkr71+xG9Bqfsb74e0EsF1n/4v6850Sm63BJGUPyaofdld92U 25RsZTXbud1kx/1AClGknG2aRqzejmghwEdrcsAbIcRGVXSAjzFzADW0NYI2xkffW9/lrR tL3uZNk5OeWgj62yR+dVwBlMH6HWU3G5+KtY337zV+aMGGvFiCInGl9G2XptyybNQXHJ3u MAmAzIyOYUnYLRjhV4Gg2trkyDyoqpPhyWEYgmgJ2B84iEptmMDuXBGeRqR0TA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1722934422; a=rsa-sha256; cv=none; b=uQoBbCAeZsmv2WBP3pywzoxMpcRpMLQNxNxXWC4RcPltKQ67n0TYsWSuiuQg8cEOJ3RSS4 8lEPH9EcQMewwI+fyzI7lLSdGA3oePvAWodaZ0Z1vSw/5LQf2+fAmIrRGI7BxjZwqyVsdW /TZtXqX+vb2moNXpjDKrMz/nhE6XwlY991e1NnD9xgapPw6ORt99N5uA5YTmQQ1olvEbGe I7SN1qLFm5gYaXGVildnfaQClUgRbRGZbhugHF1s3UzbWcnbmmBRwBw5j5ifupMdlUCNYV 4LL9L2ZVueR69kNrLLIgtzqPdP3FJzNRrteYiHV8M+q7UfMD7YvxmA9/eu9Qgw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=marekpasnikowski.pl header.s=dkim header.b=nXLLHQnM; dmarc=pass (policy=reject) header.from=marekpasnikowski.pl; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 92AD57CD14 for ; Tue, 06 Aug 2024 10:53:42 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sbFw5-0005U4-PV; Tue, 06 Aug 2024 04:52:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sbFw3-0005T2-SD for help-guix@gnu.org; Tue, 06 Aug 2024 04:52:52 -0400 Received: from [81.190.248.246] (helo=marekpasnikowski.pl) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sbFw2-0005ui-5q for help-guix@gnu.org; Tue, 06 Aug 2024 04:52:51 -0400 Received: from localhost (localhost.local [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 313c89e9 for ; Tue, 6 Aug 2024 08:52:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=marekpasnikowski.pl; h= from:to:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=dkim; bh=uzw8PSmOOfr4eYT/R2S6T4DYv zyhS3NIU/IDOv33Obo=; b=nXLLHQnMbUj3b4MVtLNkqv2m0xD8Qbqp5CrFbAZk7 +OLcz2vr3o/bxEWftZknR2yWODPnHAyVfFa8B2iznbOgieGJrbtWINRN7iKajE04 iAKvecMAp0vWd5x7CBR8R45h/ywojrWWPX/oPZ+VpF3a2A6Z7gQ6Es8AqoDEXzRZ u/d1CaaH0mgj1H6nCmBJwji8m4qy7bJIEg418EIO2u/9NWnAi/E5r9Qf8vjTc6xA 5GMZjwGemCJVHlvfsr9DVlhspqeA2Ejo0o2EQCSLYvSbU890eNxmXqp3t1AM4nPf 22AysOFVXf6pN8/3NaYPGRfgxDj7lihoeOT/9wUNd3RZQ== Received: by localhost (OpenSMTPD) with ESMTPSA id e68f81e4 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Tue, 6 Aug 2024 08:52:44 +0000 (UTC) From: =?utf-8?Q?Marek_Pa=C5=9Bnikowski?= To: help-guix@gnu.org Subject: Re: "guix system reconfigure" downloads 2G of stuff it doesn't need In-Reply-To: <395da8a2-a99b-46cc-bb63-d58425c9aff1@app.fastmail.com> (Zack Weinberg's message of "Tue, 30 Jul 2024 13:56:28 -0400") References: <8c1407de-4ddf-4153-8406-9c10c26c21d7@app.fastmail.com> <395da8a2-a99b-46cc-bb63-d58425c9aff1@app.fastmail.com> Date: Tue, 06 Aug 2024 10:52:44 +0200 Message-ID: <87zfpq2ftv.fsf@marekpasnikowski.pl> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 81.190.248.246 (failed) Received-SPF: pass client-ip=81.190.248.246; envelope-from=marek@marekpasnikowski.pl; helo=marekpasnikowski.pl X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.81 X-Spam-Score: -6.81 X-Migadu-Queue-Id: 92AD57CD14 X-Migadu-Scanner: mx11.migadu.com X-TUID: //XAQ82gUvub "Zack Weinberg" writes: > On Tue, Jul 30, 2024, at 10:43 AM, Leo Famulari wrote: >> On Mon, Jul 29, 2024 at 10:31:35AM -0400, Zack Weinberg wrote: >>> Why does it need to download all of this stuff that I know it doesn't >>> actually need (given that "guix gc" deleted it)? In particular it >>> appears to be downloading build dependencies for everything whether >>> or not it is going to use a substitute for them, and also packages >>> that I have intentionally excluded from the system configuration. >> >> Very generally, these programs are considered necessary to build the >> system generation itself. >> >> I'm not claiming that each of these programs is executed in the >> process of building the generation, but they are considered by Guix >> to be required, either directly or transitively, in order to perform >> this work. > > Is there a good way to investigate _why_ each of these packages is > considered necessary to build the system generation, and, equally > importantly, why they are _not_ considered necessary by "guix gc"? > I have a hypothesis, that the process of generation preparation was considered to be completely transient, and thus the derivations and outputs are never registered as live items of the gnu store.