Alex Kost <[email protected]> skribis:

> This patch adds URL of a package source and 2 buttons ("Show" and
> "Download") to an ‘info’ buffer (see the attached screenshot).
>
> Pushing the "Show" button displays a store path of the package source.
> Pushing the "Download" button has the same meaning as “guix build -S …”.

This is very cool!

I had in mind a slightly simpler user interface: just a “View source”
button.  The thing would build (package-source-derivation p),
effectively downloading it if it’s not already present, and opening it
in dired.

With the interface you propose, things might be slightly confusing:
sometimes clicking on “Download” will do nothing (because the source is
already there), sometime “Show” will work without “Download”, sometimes
not, etc.  Also it takes up quite a bit of space.

WDYT?

Thanks,
Ludo’.

Reply via email to