Alex Kost <alez...@gmail.com> skribis: > Ludovic Courtès (2015-10-08 14:46 +0300) wrote: > >> Alex Kost <alez...@gmail.com> skribis: >> >>> Ludovic Courtès (2015-10-08 01:10 +0300) wrote: >>> >>> [...] >>>> Wouldn’t the explanation in the manual of how to use this be relatively >>>> complex? That’s a good benchmark. >>> >>> As I see it, it is not complex: >>> >>> «Download a source of the package defined by the current variable >>> definition and print its SHA256 hash. This command has the same meaning >>> as running @code{guix download} on the package source (@pxref{Invoking >>> guix download})» >> >> Hmm OK. (Is it really “current variable definition”, or rather >> “‘origin’ form at point”?) > > As I said before it's the same as "C-c . b" is used for downloading the > package source, i.e. it is performed "on the current variable > definition". It is not possible to make it "on origin at point", > because most of the times it has a reference to 'version' ('name'): > > (origin > ... > (uri (string-append "http://..." version ".tar.gz"))) > > and 'version' is known only for the whole package, not for the 'origin'.
Oh right. Thanks for bearing with me! Ludo’.