From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 30 19:23:02 2020 Received: (at 40381-done) by debbugs.gnu.org; 30 Apr 2020 23:23:02 +0000 Received: from localhost ([127.0.0.1]:47925 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUIWD-0008NR-TR for submit@debbugs.gnu.org; Thu, 30 Apr 2020 19:23:02 -0400 Received: from eggs.gnu.org ([209.51.188.92]:32796) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUIWB-0008Mu-VG for 40381-done@debbugs.gnu.org; Thu, 30 Apr 2020 19:23:01 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60842) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUIW6-0006IL-DZ; Thu, 30 Apr 2020 19:22:54 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=36026 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jUIW4-0003tn-Vs; Thu, 30 Apr 2020 19:22:54 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: pkill9 Subject: Re: bug#40381: Guix shouldn't request substitutes for profile derivations References: <20200401211846.77cafa00@runbox.com> <87imiip3ol.fsf@gnu.org> <20200426165834.44b07258@runbox.com> <87v9lmyp61.fsf@gnu.org> <20200427043512.4c400946@runbox.com> Date: Fri, 01 May 2020 01:22:51 +0200 In-Reply-To: <20200427043512.4c400946@runbox.com> (pkill9@runbox.com's message of "Mon, 27 Apr 2020 04:35:12 +0100") Message-ID: <877dxwimno.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 40381-done Cc: 40381-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, pkill9 skribis: > So it seems it tries to look for substitutes when the profile hooks are b= uilt, > not when profile.drv is built. > > Here is the output without build hooks: > ``` > itsme@antelope ~> guix environment --ad-hoc hello > The following derivation will be built: > /gnu/store/gkz9hzjpc9pj1np7vi5pwb4xhmssk55d-profile.drv > building profile with 1 package... > Welcome to fish, the friendly interactive shell > itsme@antelope ~ [Guix env: /gnu/store/nsi48y..]> > ``` > > And here is output with build hooks: > ``` > itsme@antelope ~> guix environment --ad-hoc man-db hello > substitute: updating substitutes from 'https://berlin.guixsd.org'... 100.= 0% > substitute: updating substitutes from 'https://mirror.hydra.gnu.org'... 1= 00.0% > substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% > The following derivation will be built: > /gnu/store/w623j5spid7kyxjdp6xbgxs2r5scpjkn-profile.drv > The following profile hooks will be built: > /gnu/store/14d1mgn1mwz66mj28rwjmnkddskf4zm0-info-dir.drv > /gnu/store/7rrkqrdpxahk8g0927d56lpgz3n1kl6z-manual-database.drv > /gnu/store/8h76m85hiyilv0mj053i9n7k2nxb0wf1-ca-certificate-bundle.drv > /gnu/store/ia5d18hpmza375dizljqi2x12zlirwqi-fonts-dir.drv Looks like manual-database.drv was the only hook not mark as non-substitutable. Fixed in 69de98391d720b92206d5e45072ecd3944d95774. Thanks, Ludo=E2=80=99.