guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] ui: 'package->recutils' serializes the source field.


From: Ricardo Wurmus
Subject: Re: [PATCH] ui: 'package->recutils' serializes the source field.
Date: Fri, 12 Aug 2016 10:41:22 +0200
User-agent: mu4e 0.9.16; emacs 25.1.1

Alex Kost <address@hidden> writes:

> Yes, I agree that it's a good demonstration of using Scheme API to get
> any package info you need.  But many (probably most) people do not know
> Guile and this Guix package API well enough, and for them it may be much
> easier to operate on the recutils output of "guix package --show" in
> their scripts.  If I understand correctly, that's why David suggested
> that patch.

Yes, the recutils output could be used in scripts.  My recommendation
when dealing with source tarballs, however, is to call “guix build -S”
on the package name that recutils provides — this gives the user the
actual corresponding source.  This seems to be sufficient for shell
scripting purposes.

~~ Ricardo




reply via email to

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