From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id aFrYBXaNXWZOOQAAqHPOHw:P1 (envelope-from ) for ; Mon, 03 Jun 2024 11:31:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id aFrYBXaNXWZOOQAAqHPOHw (envelope-from ) for ; Mon, 03 Jun 2024 11:31:34 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=OLrxY1DF; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1717407094; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=8c3Q8sJnl96gh9eX6nVehYlI9DI2ut6iMU0diImLj40=; b=jIXkDzuUyp0pLniVYZBgNUtmG+hjIZJYzNelKTEoA9SZx/K+uQxY+jxu8jIpQwu13kULPB 5p++os08reDTZmtK2f6ZUPM5uqaiufS55xrCPC9XMdm/Y8ZU+hAHubtz5N6BtnhM21SgT6 ejSztNComQKJDE/CuKWqDu+38H76xRDZ1heczUp5/M+jhl59uFI/FjM3hn0My9scQToW1j XH7oMUqnwqoAuSPXa8Q8c/j0Q3SEzBg/PA+O8Li4AO1zyRF2MYYAFg/PHk1MVD5dMNdOsv YpWc6DiibQtI+lzGXr4mnDVmaYsS/SqJgjcrKCaomz8xEweRbNgEEovsKByo5Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=OLrxY1DF; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1717407094; a=rsa-sha256; cv=none; b=ogkST0D8FwCHaGDVyypa6RmJQKifoVi/oSKgfsq3byIghLHYbFaSBjcnlcbcSGdLcW6OsT BKEpO5H6/qeeSdgxUFVT1TsmQvl1atwfovURMMvOVF5u/LOnc8AxGdog/W5sjZ1M49rMxH G+IwxhXoCqMJeCM5umBG9OUfgknW4UQMToNZz8K+kNnUeFPoscDAFDJdRyQifJwp4R8dDB EnhM1hsBvCWzioDYN0B/dPjH9VooFr+CNycj8/bNH0pDW1OPiRvJFjiDT0DnPZEpmuftFo kQYb7zmwFFsDxpUYbTtOqzg7ZoYTFeetklFfAFfNnhIjvbHRaBHDNecfQQ/z4A== 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 CA4F973FF9 for ; Mon, 3 Jun 2024 11:31:33 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sE41l-0003S8-Au; Mon, 03 Jun 2024 05:30: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 1sE41i-0003Oz-0o for bug-guix@gnu.org; Mon, 03 Jun 2024 05:30:51 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sE41h-0001zT-Oc for bug-guix@gnu.org; Mon, 03 Jun 2024 05:30:49 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sE41u-00069D-Ef for bug-guix@gnu.org; Mon, 03 Jun 2024 05:31:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#71332: guix gc delete order Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 03 Jun 2024 09:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71332 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Nicolas Graves Cc: 71332@debbugs.gnu.org Received: via spool by 71332-submit@debbugs.gnu.org id=B71332.171740705923614 (code B ref 71332); Mon, 03 Jun 2024 09:31:02 +0000 Received: (at 71332) by debbugs.gnu.org; 3 Jun 2024 09:30:59 +0000 Received: from localhost ([127.0.0.1]:59016 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sE41r-00068o-53 for submit@debbugs.gnu.org; Mon, 03 Jun 2024 05:30:59 -0400 Received: from mout02.posteo.de ([185.67.36.66]:38829) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sE41n-00068a-NJ for 71332@debbugs.gnu.org; Mon, 03 Jun 2024 05:30:57 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 7F582240101 for <71332@debbugs.gnu.org>; Mon, 3 Jun 2024 11:30:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1717407036; bh=8c3Q8sJnl96gh9eX6nVehYlI9DI2ut6iMU0diImLj40=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=OLrxY1DFrAgGCe4CWkX7gvAX1tHea0mxgwZtB7KBmUzv4M+AxVHEqMXIxZOwe1Ia3 P07Wm+TnSC/SoOCLNtNlxiT9N4/TBtRgalzVNKRmbODz0PDFy1I0zgY6IyUlL+A8v1 lxYGaAzy8OG47URq9TakwvatGZ+3URuUwuK7IDZ1y4hsnBDZgUlosLGyCKkywK85jS p+p8L2MpTZJkNkAKWwKwO8ralAuMtC01LadWXAjwaeUG8ZpP06n8wt4uos/vnU8OZA M7sHsgqcoXLVlYY5XgiW+o3SmN6a1EwoO0ZYk1VpdSx7OxAAyM30t3YsKzf+VOiM/S NvG+AwZ0Sy65Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Vt7kM4s81z6tx0; Mon, 3 Jun 2024 11:30:35 +0200 (CEST) From: Guillaume Le Vaillant In-Reply-To: <87bk4i5r3p.fsf@ngraves.fr> (Nicolas Graves via Bug reports for's message of "Mon, 03 Jun 2024 11:10:34 +0200") References: <87bk4i5r3p.fsf@ngraves.fr> Date: Mon, 03 Jun 2024 09:30:34 +0000 Message-ID: <87plsygypx.fsf@kitej> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: 1.36 X-Migadu-Queue-Id: CA4F973FF9 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: 1.36 X-TUID: rQmEMjMGith7 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Nicolas Graves via Bug reports for GNU Guix skribis: > Hi Guix, > > I feel the way `guix gc` choose its files to delete quite > inconvenient. For instance, when developping big programs locally, I > often find myself missing space, but when I will `guix gc -C30G`, > instead of the expected unused items (not present in any profile, just > built but discarded as the package I'm building is updated for > instance), I will instead loose most of the native-inputs that are > needed to build my `guix home` and `guix system`. > > This make me stuck in an endless loop of removing / redownloading over > and over the same native-inputs, while my intention is first to remove > files that aren't these native-inputs. > > I haven't delved into `guix gc` yet, how hard is that issue to solve?=20 Hi. Is the guix-daemon of your system started with the "--gc-keep-derivations=3Dyes" and "--gc-keep-outputs=3Dyes" options? It should prevent "guix gc" from deleting the build dependencies of live profiles. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCZl2NOg8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j/R2gD/TCSZwLLuoAE1GhuClOQaIZF0YAvt3OfSdzpC p+Ur918A/0rkb6aDYjsQZ6nn0vCt1HwCis4eJzjO8GQDh/dAJSY3 =ml36 -----END PGP SIGNATURE----- --=-=-=--