pack: Expose some bindings for third-party use.

* guix/scripts/pack.scm (compressor-name, compressor-extension,
compressor-command, %compressors, %formats): Export.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
John Soo 2020-11-12 21:47:36 -08:00 committed by Ludovic Courtès
parent 0b146ceaab
commit e783cd51ba
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -59,11 +59,16 @@ (define-module (guix scripts pack)
#:use-module (srfi srfi-37) #:use-module (srfi srfi-37)
#:use-module (ice-9 match) #:use-module (ice-9 match)
#:export (compressor? #:export (compressor?
compressor-name
compressor-extenstion
compressor-command
%compressors
lookup-compressor lookup-compressor
self-contained-tarball self-contained-tarball
docker-image docker-image
squashfs-image squashfs-image
%formats
guix-pack)) guix-pack))
;; Type of a compression tool. ;; Type of a compression tool.