Alex Kost <alez...@gmail.com> 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