From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 26 23:35:25 2020 Received: (at 40381) by debbugs.gnu.org; 27 Apr 2020 03:35:25 +0000 Received: from localhost ([127.0.0.1]:35302 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jSuYH-0001Fb-Cm for submit@debbugs.gnu.org; Sun, 26 Apr 2020 23:35:25 -0400 Received: from aibo.runbox.com ([91.220.196.211]:46162) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jSuYE-0001FR-Ei for 40381@debbugs.gnu.org; Sun, 26 Apr 2020 23:35:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector1; h=Content-Transfer-Encoding:Content-Type:MIME-Version: References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=7enyLHCJZbykdGVy+8gUiFT0TlmuSi4EutX7FAOjtu8=; b=SmKad8qCExRrw+pNIBL2bdbYCQ ZnRJZXDjCdfEW4sxd0oeqmSl9FfCuG+iGgMKySfwUewyvJNkZqNK/Us7QyAVQkkZaJ3jnQWt86eBd 5/qsReOHBCW/VoNeM+nb2F89GLHeRQ5+RDjEYsjvjc/r+GEEnWObFwL+r5rkgKD/OpsUn64gKhSuL ESCy0ZD3eKlBravjbwsnXWuOChkX5wqczFQY8REUcB6h6w0aiIslQ8ffMAq5qEk/VEtENXn84Jx+t k/yzYNTw16CFVuX0LWC8fJmUoUrogK/FA0Qr3a+WSoiXNuXDsQUaS+dO32Vgxn2UC/FPjUwUxlqOn 2iLXDDpg==; Received: from [10.9.9.202] (helo=mailfront20.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1jSuYC-0007px-2h; Mon, 27 Apr 2020 05:35:20 +0200 Received: by mailfront20.runbox with esmtpsa [Authenticated alias (780724)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1jSuY6-0000hR-9D; Mon, 27 Apr 2020 05:35:14 +0200 Date: Mon, 27 Apr 2020 04:35:12 +0100 From: pkill9 To: Ludovic =?UTF-8?B?Q291cnTDqHM=?= Subject: Re: bug#40381: Guix shouldn't request substitutes for profile derivations Message-ID: <20200427043512.4c400946@runbox.com> In-Reply-To: <87v9lmyp61.fsf@gnu.org> References: <20200401211846.77cafa00@runbox.com> <87imiip3ol.fsf@gnu.org> <20200426165834.44b07258@runbox.com> <87v9lmyp61.fsf@gnu.org> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 40381 Cc: 40381@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: -1.5 (-) Hi, > Can you show more precisely what you mean by pasting a command and its > output? So it seems it tries to look for substitutes when the profile hooks are built, 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'... 100.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 building CA certificate bundle... building fonts directory... building directory of Info manuals... building database for manual pages... building profile with 2 packages... Welcome to fish, the friendly interactive shell itsme@antelope ~ [Guix env: /gnu/store/9qv380..]> ```