[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 2/4] emacs: Add 'guix-devel-download-package-source'.

From: Ludovic Courtès
Subject: Re: [PATCH 2/4] emacs: Add 'guix-devel-download-package-source'.
Date: Fri, 09 Oct 2015 14:17:07 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Alex Kost <address@hidden> skribis:

> Ludovic Courtès (2015-10-08 14:46 +0300) wrote:
>> Alex Kost <address@hidden> 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!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]