From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id qHY0FkpLCF/uPgAA0tVLHw (envelope-from ) for ; Fri, 10 Jul 2020 11:04:42 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id QOQFEkpLCF93FQAAB5/wlQ (envelope-from ) for ; Fri, 10 Jul 2020 11:04:42 +0000 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 03F6B940DD2 for ; Fri, 10 Jul 2020 11:04:41 +0000 (UTC) Received: from localhost ([::1]:44420 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jtqpc-0000xR-T9 for larch@yhetil.org; Fri, 10 Jul 2020 07:04:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40926) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jtqpT-0000wv-0K for guix-devel@gnu.org; Fri, 10 Jul 2020 07:04:31 -0400 Received: from tobias.gr ([2a02:c205:2020:6054::1]:54338) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jtqpQ-0008Mi-QR for guix-devel@gnu.org; Fri, 10 Jul 2020 07:04:30 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id 1fe4f787; Fri, 10 Jul 2020 11:04:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to:cc :subject:references:in-reply-to:date:message-id:mime-version :content-type; s=2018; i=me@tobias.gr; bh=E1fL4jWA5YTGaAjqpCQOnl KfiIxqlJ3/xg2KK0LrE3Y=; b=hGwcPSgdp1DosXhBxe8vb0KMbUULvJ8Ju9vz8U uaMOZv+vp24191Iy82oemuBJFLgg0TxYhiTYssueMQH4Z8wY9rLwmVyHeqyeBZWc Ng95s4sJ4eEHmMTGPCRS7CTHN6rxKPksd61wQmhJ1WBMzwITLR7+fn6H5c6Ds3Ou jvOfpbB0/TWrgdYZB8gblX8b1dBnpZR20f0uApouq2DTkIKsncQULmsD/wV5uVOH UMuYvGONLhbrQhXpF8VTqpL27LGRQqDNMINSf4NPAOAu5Ae3Lndu6RNbbt7bxjAf s3JiDrNbvBCihwluFxcm6BSl5aVNvyakcNveDLhfZQ0IwWzQ== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 756a8d29 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Fri, 10 Jul 2020 11:04:34 +0000 (UTC) BIMI-Selector: v=BIMI1; s=default; From: Tobias Geerinckx-Rice To: zimoun Cc: guix-devel@gnu.org Subject: Re: texlive-20190410-texmf.tar.xz again and again References: <86h7ufbqq9.fsf@gmail.com> In-reply-to: <86h7ufbqq9.fsf@gmail.com> Date: Fri, 10 Jul 2020 13:04:24 +0200 Message-ID: <87lfjrzl53.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tobias.gr header.s=2018 header.b=hGwcPSgd; dmarc=pass (policy=reject) header.from=tobias.gr; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -3.31 X-TUID: OelZlMT00Uaw --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Simon, zimoun =E5=86=99=E9=81=93=EF=BC=9A > I am often annoyed because when I run "guix upgrade", Guix > downloads again the heavy texlive-20190410-texmf.tar.xz if I=20 > have > forgotten to protect it from "guix gc" using the trick, e.g., > > https://lists.gnu.org/archive/html/help-guix/2020-02/msg00110.html > > What could be a more general solution independent of the trick? You might be happy with =E2=80=98--gc-keep-outputs=E2=80=99. From=20(guix)Invoking guix-daemon: =E2=80=98--gc-keep-outputs[=3Dyes|no]=E2=80=99 Tell whether the garbage collector (GC) must keep outputs of=20 live derivations. When set to =E2=80=98yes=E2=80=99, the GC will keep the outputs of any= live derivation available in the store=E2=80=94the =E2=80=98.drv=E2=80=99 f= iles. The=20 default is =E2=80=98no=E2=80=99, meaning that derivation outputs are kept only if= they=20 are reachable from a GC root. *Note Invoking guix gc::, for more=20 on GC roots. =E2=80=98--gc-keep-derivations[=3Dyes|no]=E2=80=99 Tell whether the garbage collector (GC) must keep derivations corresponding to live outputs. When set to =E2=80=98yes=E2=80=99, as is the case by default, the GC k= eeps derivations=E2=80=94i.e., =E2=80=98.drv=E2=80=99 files=E2=80=94as long= as at least one of=20 their outputs is live. This allows users to keep track of the=20 origins of items in their store. Setting it to =E2=80=98no=E2=80=99 saves a bit = of disk space. In this way, setting =E2=80=98--gc-keep-derivations=E2=80=99 to =E2=80= =98yes=E2=80=99 causes liveness to flow from outputs to derivations, and setting =E2=80=98--gc-keep-outputs=E2=80=99 to =E2=80=98yes=E2=80=99 causes li= veness to flow from =E2=96=B6 derivations to outputs. When both are set to =E2=80=98yes=E2= =80=99, the=20 effect is =E2=96=B6 to keep all the build prerequisites (the sources, compiler, =E2=96=B6 libraries, and other build-time tools) of live objects in the store, regardless of whether these prerequisites are=20 reachable from a GC root. This is convenient for developers since it saves rebuilds or downloads. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXwhLOQAKCRANsP+IT1Vt ecQhAQCFD6q/ddkVFyMyQDo8m3B88m7gBgeUMkfefCwPtKgWxgD/bCKDC+16/7cf RnDDzmxAzxEGlI8k/iCk7fl+bY2Wogo= =1LpV -----END PGP SIGNATURE----- --=-=-=--