From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: prevent gc of texlive-...-texmf.tar.xz Date: Wed, 12 Feb 2020 15:45:05 -0500 Message-ID: <20200212204505.GB17839@jasmine.lan> References: <20200212.135345.176088053800652108.post@thomasdanckaert.be> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:43734) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j1ysg-0000QI-6Q for help-guix@gnu.org; Wed, 12 Feb 2020 15:45:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j1ysf-0000aN-6X for help-guix@gnu.org; Wed, 12 Feb 2020 15:45:10 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:41275) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j1ysf-0000ZC-0K for help-guix@gnu.org; Wed, 12 Feb 2020 15:45:09 -0500 Content-Disposition: inline In-Reply-To: <20200212.135345.176088053800652108.post@thomasdanckaert.be> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane-mx.org@gnu.org Sender: "Help-Guix" To: Thomas Danckaert Cc: help-guix@gnu.org On Wed, Feb 12, 2020 at 01:53:45PM +0100, Thomas Danckaert wrote: > Hi, > > I have limited space on my root file system, and therefore need to run 'guix > gc' regularly. One problem with that is that the texlive source package > (currently > /gnu/store/mj40l554qxw15acz0h018gk5c9mxzfgn-texlive-20180414-texmf.tar.xz) > regularly gets deleted that way. When I upgrade after running guix gc, I > often find I need to download this very large (2.5G) tarball again. > > How do I add a gc root for this tarball (or is that a bad idea)? I tried > 'guix build texlive --source --root ...', but I get a warning 'package > texlive has no source'. The simplest way to make a gcroot is to symlink the store item into /var/guix/gcroots. In fact, I've had this exact symlink for a few years now: lrwxrwxrwx 1 root root 73 Aug 5 2017 texlive-20170524-texmf.tar.xz -> /gnu/store/5rnvmy02yazy8iwaa91kijbbqp8qmflz-texlive-20170524-texmf.tar.xz