From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: guix package -r *downloads* new packages? Date: Sun, 09 Oct 2016 16:42:30 +0200 Message-ID: <87vax1fusp.fsf@elephly.net> References: <57F81D90.6050104@crazy-compilers.com> <87vax3hvfp.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55003) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btFJP-0007kY-J3 for help-guix@gnu.org; Sun, 09 Oct 2016 10:42:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1btFJJ-0003Ys-Ff for help-guix@gnu.org; Sun, 09 Oct 2016 10:42:46 -0400 In-reply-to: <87vax3hvfp.fsf@gnu.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: help-guix Ludovic Courtès writes: > Hi Hartmut, > > Hartmut Goebel skribis: > >> I tried cleaning up my system. But when I did "guix package -r …", it >> started to build derivations and download stuff. > > [...] > >> $ guix package -r guix >> warning: failed to install locale: Invalid argument >> The following package will be removed: >> guix 0.10.0-0.e901 >> /gnu/store/vw26xsn24jmrijn939fjjk50m5i4hfq3-guix-0.10.0-0.e901 >> >> substitute: updating list of substitutes from >> 'https://mirror.hydra.gnu.org'... 100.0% >> The following derivations will be built: >> /gnu/store/4mdahqlzar6fl9f9cx6i16561x2yclwx-profile.drv >> /gnu/store/2pn3gbhq7hnnh8kzwblihlw8f34irkgg-module-import.drv >> /gnu/store/j46m2a8fnxklnckiqkn7r9id6jhs94s1-module-import-compiled.drv >> /gnu/store/zhdym8ynv7sbr1iiaj917ln1z1ris2zw-gtk-icon-themes.drv >> /gnu/store/plq1855s06gi77x3qbsyp4217ssn635i-info-dir.drv >> /gnu/store/n1kdin8g51m6dd7ds8hiv8pgv20dczki-fonts-dir.drv >> /gnu/store/lcp53c781kk1d6fxr2xm4dhfm1fgv9x1-ca-certificate-bundle.drv >> /gnu/store/19ngbl2rmvag3dgsii8pkfmhzbg3zbx8-xdg-mime-database.drv >> The following files will be downloaded: >> /gnu/store/ik15p8lrbk6jfa3fs3x34m78lj2c0ix1-guile-2.0.11 >> /gnu/store/1vmfjpapw15nmhdw3hvrkdp8k933j518-module-import-compiled >> /gnu/store/f9m713c1v5db09b0asxd3mifdskllbri-texinfo-6.1 > > This is counter-intuitive but expected. First of all, the profile is > built by running a Guile program, so Guile needs to be available if it’s > not already there. > > Secondly, when the profile is built, a number of “profile hooks” are > run. We can see them above: gtk-icon-themes builds a registry of the > installed GTK+ themes (which requires GTK+), info-dir builds the Info > documentation directory (which requires Texinfo), and so on. Do you think we could make this a little more intuitive by hiding the derivations for the profile hooks (unless verbosity is increased), or by listing them separately? ~~ Ricardo