guix-devel
[Top][All Lists]
Advanced

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

Re: new manifest format readers?


From: Ludovic Courtès
Subject: Re: new manifest format readers?
Date: Sun, 11 Jun 2017 23:16:32 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Ricardo Wurmus <address@hidden> skribis:

> Ludovic Courtès <address@hidden> writes:
>
>> Jan Nieuwenhuizen <address@hidden> skribis:
>>
>>> Ricardo Wurmus writes:
>>
>> [...]
>>
>>>> ;; Boilerplate code to turn the above list of packages into a manifest
>>>> (use-modules (gnu packages))
>>>> (packages->manifest (map (compose list specification->package+output) 
>>>> packages))
>>>
>>> Yes, I finally found this and it is not very friendly/discoverable.
>>
>> Agreed.  How about making these two changes:
>>
>>   1. Include (gnu packages) in the default evaluation environment of
>>      manifests.
>>
>>   2. (define (package-specifications->manifest specs)
>>        (packages->manifest (map (compose list specification->package+output)
>>                            specs)))
>>
>> Thoughts?
>
> This sounds like a very useful improvement to me.

Done in c08ea55e7ec25261e4596bf6726a83c1ed056b94.

In fact #1 was already implemented.

Ludo’.



reply via email to

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