Sree Harsha Totakura <sreehar...@totakura.in> skribis:

> I just observed that `guix build' is downloading source tarballs from
> Hydra.  Is this supposed to be a feature?  If so, what is the rationale
> behind not trying to download the source ball from mirrors or upstream
> download addresses?

Downloads are normal derivations, like builds¹.  Thus, their result is
cached into the store, and so Hydra serves substitutes for them just
like for any other derivation.

As Andreas said, this is a desirable feature for upstream sites that
remove old source tarballs.

However, hydra.gnu.org is indeed often slower than upstream sites these
days.  This is obviously not inherent to the mechanism, and instead has
to do, I believe, with hydra.gnu.org being an overloaded VM.

I think things will improve when we start offloading builds to other
machines, which I hope will happen Real Soon Now.

Thanks,
Ludo’.

¹ With a slight difference: the hash of the output of a download
  derivation is known in advance.  We call them “fixed-output”
  derivations, because the file name of the output is independent of the
  inputs used to perform the actual download.

Reply via email to