diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-03-16 18:02:59 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-03-16 22:50:15 +0100 |
commit | b1edfbc37f2f008188d91f594b046c5986485e47 (patch) | |
tree | e6ae31922409381c2bba08cdcb50d77d373ee3aa /gnu.scm | |
parent | 2971f39c3330a69f44d1ac97443e42b0f8e0173e (diff) | |
download | guix-b1edfbc37f2f008188d91f594b046c5986485e47.tar guix-b1edfbc37f2f008188d91f594b046c5986485e47.tar.gz |
pack: Add '--format' option and Docker output support.
* guix/docker.scm: Remove dependency on (guix store) and (guix utils).
Use (guix build store-copy). Load (json) lazily.
(build-docker-image): Remove #:system. Add #:closure, #:compressor, and
'image' parameters. Use 'uname' to determine the architecture. Remove
use of 'call-with-temporary-directory'. Use 'read-reference-graph' to
compute ITEMS. Honor #:compressor.
* guix/scripts/pack.scm (docker-image): New procedure.
(%default-options): Add 'format'.
(%formats): New variable.
(%options, show-help): Add '--format'.
(guix-pack): Honor '--format'.
* guix/scripts/archive.scm: Remove '--format' option. This reverts
commits 1545a012cb7cd78e25ed99ecee26df457be590e9,
01445711db6771cea6122859c3f717f130359f55, and
03476a23ff2d4175b7d3c808726178f764359bec.
* doc/guix.texi (Invoking guix pack): Document '--format'.
(Invoking guix archive): Remove documentation of '--format'.
Diffstat (limited to 'gnu.scm')
0 files changed, 0 insertions, 0 deletions