From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#38469: guix gc should keep around recent intermediate build Date: Tue, 10 Dec 2019 17:39:07 +0100 Message-ID: <87pngwnnis.fsf@gnu.org> References: <484751C5-E7B0-40AA-B0BD-E81D31C0535C@vllmrt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:57838) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ieiYQ-0007Up-IF for bug-guix@gnu.org; Tue, 10 Dec 2019 11:40:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ieiYM-0002qG-3E for bug-guix@gnu.org; Tue, 10 Dec 2019 11:40:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:50493) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ieiYL-0002qB-Vv for bug-guix@gnu.org; Tue, 10 Dec 2019 11:40:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ieiYL-00006T-SM for bug-guix@gnu.org; Tue, 10 Dec 2019 11:40:01 -0500 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: (Robert Vollmert's message of "Tue, 3 Dec 2019 15:29:00 +0100") 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: Robert Vollmert Cc: 38469-done@debbugs.gnu.org Hi, Robert Vollmert skribis: >> Have you tried passing the options '--gc-keep-derivations=3Dyes=E2=80=99= and >> '--gc-keep-outputs=3Dyes' to guix-daemon? > > I had not. I added that right now, and first tests seem to indicate > that this helps. Thanks! Yes, I think these options are exactly what you want. > Would it be a bad idea to make this the default? I think the current defaults are more appropriate; after all, they really allow =E2=80=9Cgarbage=E2=80=9D to be collected. > Alternatively, how about some kind of developer config fragment that > would modify a system configuration with settings that are a good > idea for Guix development, if not general use? That might also include > things like setting the $%!^@!*^% guile backtrace columns variable > for guix-daemon. I think what you=E2=80=99d want is to set COLUMNS within derivation, not = =E2=80=9Cfor the daemon=E2=80=9D. So I don=E2=80=99t know, I=E2=80=99m sympathetic to the idea of developer s= ettings in Guix System, but I=E2=80=99m not sure what it could bring beyond these two options. In the meantime, I propose to close this bug and to discuss this potential new feature separately. Thanks, Ludo=E2=80=99.