guix package: Add '--export-channels'.
authorLudovic Courtès <ludo@gnu.org>
Sun, 10 Jan 2021 21:13:04 +0000 (22:13 +0100)
committerLudovic Courtès <ludo@gnu.org>
Mon, 1 Feb 2021 16:32:35 +0000 (17:32 +0100)
commitaedbc5ff32a62f45aeed74c6833399a6cf2c22dc
tree2fde6bc10da72d4aa16902f5b70c175a50eccda6
parent60d72f536437bcef2a4e02faa1fe0c8076049fcc
guix package: Add '--export-channels'.

* guix/channels.scm (sexp->channel): Export.
* guix/describe.scm: Use (guix channels).
(manifest-entry-provenance): New procedure.
* guix/scripts/package.scm (channel=?, export-channels): New
procedures.
(show-help, %options): Add '--export-channels'.
(process-query): Honor it.
* build-aux/build-self.scm (build-program)[select?]: Exclude (guix
channels) to account for the (guix describe) change above.
* doc/guix.texi (Invoking guix package): Document it.
build-aux/build-self.scm
doc/guix.texi
guix/channels.scm
guix/describe.scm
guix/scripts/package.scm