From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YJL2EQHvWmKWmwAAgWs5BA (envelope-from ) for ; Sat, 16 Apr 2022 18:29:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 4Lw1DwHvWmI3kgAA9RJhRA (envelope-from ) for ; Sat, 16 Apr 2022 18:29:53 +0200 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 D984729137 for ; Sat, 16 Apr 2022 18:29:52 +0200 (CEST) Received: from localhost ([::1]:43018 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nflJ1-0004IX-LR for larch@yhetil.org; Sat, 16 Apr 2022 12:29:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49048) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nfdOC-0004NJ-Pm for help-guix@gnu.org; Sat, 16 Apr 2022 04:02:40 -0400 Received: from mout.gmx.net ([212.227.15.19]:34239) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nfdOA-0002Pz-Je for help-guix@gnu.org; Sat, 16 Apr 2022 04:02:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1650096154; bh=tUR1o1vcy0Zx2xNKqj7I7O3nUbUhAJw3/wQcke1CQtE=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=lXPqbyqR+WitcVpJZjC/A7zOgDNWXNKf/vkCmX0NwdP4+uwk98amCZO5KWjf/ZytI Btc/PnPTS28v3zEWK3oP9ZHqHjodTxSEZ6wysKBpyfybVxW0vbbAzWQ4r3MxvEr/FC v0S25z9e2jrpOYlD6ruwfOhowcVaqHal/UWKsi6g= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from Geek ([117.205.141.94]) by mail.gmx.net (mrgmx005 [212.227.17.184]) with ESMTPSA (Nemesis) id 1MbRfv-1oD2OZ0kqv-00boKf; Sat, 16 Apr 2022 10:02:34 +0200 From: James Thomas To: Mykola Nikishov Subject: Re: How to prevent incomplete build results from being garbage collected? References: <87tub11jdt.fsf@think> Date: Sat, 16 Apr 2022 13:32:29 +0530 In-Reply-To: <87tub11jdt.fsf@think> (Mykola Nikishov's message of "Sun, 10 Apr 2022 10:34:54 +0300") Message-ID: <87ilr9sbfu.fsf@gmx.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:7QM7bagwz41SVB7Bxlv4IOBBHHaMUsNf4T/4NODHJ/6cWnQPGBB Ej4sxtRmYClPTN7NZy/ihiNOs5iwMWuxrJRl+TEy7kKwCDoc6yz8cjnkiRgE5WEMoYRJ9xY RDDfQX3kN/eZbHw0Sx9dNipOK+vdi9XTrAMfG6KOf0940ac+Gn2wV4x5xzAdod/9ogDyiuG ikdFrjO/aGpuBtL3VR8aA== X-UI-Out-Filterresults: notjunk:1;V03:K0:acOaN0EL7lM=:syFJ2sG0w50DfvRDJADAUU 6nu6lF8g4gCDf2qGuSyvWV6SvZnukKk5cLpbD4B1asbFfbe6L3JjCgRC3WaIaqUimZxVidpAH ZOOABg/oV+AnbzXK7WEzP5etr8dO+ky9vQMbJCsr6h8ipHygMCn/ougPscWWnO+fEbZZeJOjB L8rDhq5cf2aH1Vu4y9o8tO6IN154lFUH/e0TgOfeU9NcWNHSFRTJIYqai23C52c5WWdlG2a3a 2R0cB1JKZqypoG5taeSy5pJq7GMyIsc5r966YxRnTw0pUlb84PNeqyr44i1oZ6i9pL2MfxTPX TeltL470jZXsY2ibGlekRtSY5ZMLvCjD/u+oJPORcUealdGc7qBzQ9i2Bn3UM3cN+ETqSwDe0 1GrXWbPtSREQVOkCg3avC/xa12t1soB0yDwjCwLeuR33ITMgPHqTUglmJwiuVce7bZaL+vX4Q cCpGYsF8cHaFeQTHbXXGS14jlAdaNj00WlW+ptCl3XN5jKEm+tUWwPiiJfmPz0XjIAEr7FKaR vp/mNy2A/mBBuMnl6f/8oZixQjiFp5eMFFFX6KT0iKFQU6Hc78glIog5SpAxETkqE/bL3N/pQ 9l99pot/hxA+h99CltAkZCXRfWBpQS6ud+guGw098OwWLUnJ4BGVRW5xbzNqDSdt82+RmJbFq zsKJsNgFGcxQTnUw0owAMPOhyZLQQapZfSmtkatSVMQkux84inhv2yO0U0HlDceU/H5n1+/Nf Qs3sDT1ZrR8qb8k3ksvz1KCuGJlU8nmVjkv4LwGQW964ElaVlY4wVgR+NhYVDghRX/xajIuae ftlXR/HcBpCH+XSvunqPY2Q+oR2JcqYhPUNvFfSlpxE+yAosUPoUpjdXMChq/SJ6lOW3IE/Ol VoHX7aqneJGhKAucRN9OO9NO2dsWYtMSPqBNdD71rfJ3VBJ7rDr9Aot3Iu1Jhlh0g14oKlyyX Bq0myzLj7qDnnd8SLlhNuXIJsndC638uWl5DgMV7Ep9og/yqTxLiKpYKSOESH35OOWG1zkIVX 5ATlmpiWpIT3vQp8HxRdqami/qWLS0UT1NbX29MoLRtSBUgFtKK+3utJ9rR6mZ3+C61Gzg5of /e/5W9m+ECkFpQ= Received-SPF: pass client-ip=212.227.15.19; envelope-from=jimjoe@gmx.net; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 16 Apr 2022 12:29:18 -0400 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: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1650126592; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=WfqNeaMCcnALYtXbfwqZgOqscb3GPDq9BbN1Jg43ffQ=; b=G6DkrjTdCgwGnMLgrHrCj5PkiuY647GNWYA02aR6hjCFnlIhN25LiK/kqu22/wDBl7fYUb 5gJygALxZVS/hqlT6NtjM89FZdK+OvPkLvj0lZ3ZTDiRtDhT11/0J1Nx5PrhAbAq54S4L/ xHz1F7e/ocDyI9ONDicdnRaycBPA9sIEfkUb+8feNlIGVTKkYzc1iZL4tdDV7fOBTaEsk0 RLGXFUk8zWo6bbf5Svkq4sQ+3gZHFJjL8Zsg3lP1iH8Aryo/D60b1HXJ5SXk+q4T3GM0jw BD4UwbZ2PQam1bgSKVl5l1cd0J8HTO6PUVc3J5jWqft6H1V7FuWkCS8sSxFHlQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650126592; a=rsa-sha256; cv=none; b=djviNcLV1MMNWcTorsc0MI+I9fpnTV1ynZ4YoR2RxXCPIhlds76PtfvUMNzpUKzP5P0bSC i3CvqV9W5wKqASN2McbiuaBH0jC1arKdNRQh4SUnZMe7+f2zApcHXZRVOtfFZP25z2QaaG G+0H21oHEcijzxRNPfDFY/szb2oMNjKtr3yok+u057u05pzCeGQxjv11xX6+msjt6rqR/I 6LOh2ckzl9t5aCn3okmQZtGTpYJO+GrxBqIjKS7HR8140MXqdBGW7u7r99e3DwgLllLh1a CPQ+uG23QHx2NM1kiyTKZta6Lnq5IroqakQ3b9OK0vdPMVAJeU7GPNmdL8Lttw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=lXPqbyqR; dmarc=pass (policy=none) header.from=gmx.net; 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" X-Migadu-Spam-Score: -8.04 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=lXPqbyqR; dmarc=pass (policy=none) header.from=gmx.net; 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" X-Migadu-Queue-Id: D984729137 X-Spam-Score: -8.04 X-Migadu-Scanner: scn0.migadu.com X-TUID: peNW6LYYG+O7 Mykola Nikishov wrote: > Hi there, > > I'm trying to build a package that fails. In the meantime, I'd like to > reclaim some disk space by collecting garbage. After that, all build > results for such package are gone and rebuilding it next time just > wastes bandwidth and CPU cycles by re-downloading and re-building the > same stuff: > > #+begin_example > guix build > guix gc > guix build > #+end_example > > Using --root=FILE with guix build does not help, I suppose it would help > only for successful build. > > How could I retain build results regardless if build was successful or > not? I guess you meant 'dependencies' where you said 'results'. So maybe run: guix shell -D -r ...once to keep a profile with the dependencies registered as a root. --