Subject: [bug#44321] [PATCH 1/6] guix build: 'package-with-source' no longer takes a 'store' parameter.

From: Ludovic Courtès <[email-masked]>
Date: Sat, 31 Oct 2020 11:17:39 +0100

Miguel Ángel Arruga Vivas <[email-masked]> skribis:

> I've had to re-read some parts of the manual and the code of (guix
> store) a bit to completely understand this one, so thank you for the
> practical lesson too.  :-)

Heheh.  :-)

> To be sure that I understood it: the main difference is that now
> package-with-source _stages_ (wink) the source download up to the gexp
> compilation, isn't it?  If that's the case, this LGTM and my quick
> tests.

Yes, exactly.  Now ‘package-with-source’ inserts an “inert”
<downloaded-file> record as the source of the package.  The file is
actually downloaded when that <downloaded-file> object is “lowered”,
which happens when the package itself is lowered to a derivation.

Thanks for the review!

Ludo’.