[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: Alex Kost
Subject: Re: [PATCH 2/4] emacs: Add 'guix-devel-download-package-source'.
Date: Fri, 09 Oct 2015 15:08:48 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

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'):

  (uri (string-append "http://..."; version ".tar.gz")))

and 'version' is known only for the whole package, not for the 'origin'.

>> Anyway, after all I'm not going to add this command to not give people
>> an incentive not to check signatures.
> Yeah, maybe we can see where the other discussion goes.
> The command to call ‘package-source-derivation’ for the package at point
> is still welcome, though.  :-)



reply via email to

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