Subject: bug#40381: closed (Re: bug#40381: Guix shouldn't request substitutes for profile derivations)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 30 Apr 2020 23:24:02 +0000

Your bug report

#40381: Guix shouldn't request substitutes for profile derivations

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
40381: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=40381
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#40381: Guix shouldn't request substitutes for profile derivations
From: Ludovic Courtès <[email-masked]>
To: pkill9 <[email-masked]>
Cc: [email-masked]
Date: Fri, 01 May 2020 01:22:51 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

pkill9 <[email-masked]> skribis:

> 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

Looks like manual-database.drv was the only hook not mark as
non-substitutable.

Fixed in 69de98391d720b92206d5e45072ecd3944d95774.

Thanks,
Ludo’.

Subject: Guix shouldn't request substitutes for profile derivations
From: pkill9 <[email-masked]>
To: [email-masked]
Date: Wed, 1 Apr 2020 21:18:46 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

I see that Guix is requesting substitutes from the build servers before
it builds a profile derivation.