shell: Add '--export-manifest'.
authorLudovic Courtès <ludo@gnu.org>
Thu, 31 Mar 2022 11:01:21 +0000 (13:01 +0200)
committerLudovic Courtès <ludo@gnu.org>
Mon, 4 Apr 2022 20:58:04 +0000 (22:58 +0200)
commitc42b7baf13c7633b4512e94da7445299c57b247d
tree461389e058b7d9499299612593533d72e647a7ea
parent6fed836a6f9b8fb63ba067d0523942119687ce0b
shell: Add '--export-manifest'.

* guix/scripts/shell.scm (show-help, %options): Add '--export-manifest'.
(manifest-entry-version-prefix, manifest->code*)
(export-manifest): New procedures.
(guix-shell): Honor '--export-manifest'.
* tests/guix-shell-export-manifest.sh: New file.
* Makefile.am (SH_TESTS): Add it.
* doc/guix.texi (Invoking guix shell): Document '--export-manifest'.
(Invoking guix environment): Link to it.
(Invoking guix pack): Likewise.
Makefile.am
doc/guix.texi
guix/scripts/shell.scm
tests/guix-shell-export-manifest.sh [new file with mode: 0644]