From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Vollmert Subject: bug#38469: guix gc should keep around recent intermediate build ingredients by default Date: Tue, 3 Dec 2019 11:48:16 +0100 Message-ID: <484751C5-E7B0-40AA-B0BD-E81D31C0535C@vllmrt.net> Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:43744) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ic5k0-0000Ph-MF for bug-guix@gnu.org; Tue, 03 Dec 2019 05:49:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ic5ju-0007IM-Pa for bug-guix@gnu.org; Tue, 03 Dec 2019 05:49:11 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:33367) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ic5ju-0007CH-Ko for bug-guix@gnu.org; Tue, 03 Dec 2019 05:49:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ic5jq-0006H2-JH for bug-guix@gnu.org; Tue, 03 Dec 2019 05:49:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:40009) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ic5jW-0000Dp-K6 for bug-guix@gnu.org; Tue, 03 Dec 2019 05:48:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ic5jP-0005wR-Vg for bug-guix@gnu.org; Tue, 03 Dec 2019 05:48:37 -0500 Received: from mout-p-101.mailbox.org ([2001:67c:2050::465:101]:42808) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ic5jP-0005Oa-Ou for bug-guix@gnu.org; Tue, 03 Dec 2019 05:48:35 -0500 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 47RzGv6C5xzKmgD for ; Tue, 3 Dec 2019 11:48:23 +0100 (CET) Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter05.heinlein-hosting.de (spamfilter05.heinlein-hosting.de [80.241.56.123]) (amavisd-new, port 10030) with ESMTP id 81NQ31zUcS4M for ; Tue, 3 Dec 2019 11:48:20 +0100 (CET) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 38469@debbugs.gnu.org [ This is a user/developer friendliness feature request. I=E2=80=99m not = arguing that `guix gc` should do anything differently on a technical level, = I=E2=80=99m just trying to argue that the default experience should be different. = ] Current situation: I use a forked guix repository as my default channel, which includes a number of slow-to-build Haskell packages. Now and then, I run out of disk space. So I call `guix gc`, which invariably removes the store paths involved in building my current system = generation, so the next call to `guix system reconfigure` takes hours. Desired situation: After calling `guix gc`, the paths that were involved in my last = system build are still around, so reconfiguring doesn=E2=80=99t result in = everything being rebuilt. (If there=E2=80=99s some way I can achieve that now, perhaps by = explicitly managing some roots, or passing specific arguments to `guix gc`, I=E2=80=99d be = happy to know! I=E2=80=99d still argue that we should try to make this the = default behaviour, though.)