summary refs log tree commit diff
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2020-11-12 21:47:36 -0800
committerLudovic Courtès <ludo@gnu.org>2020-11-13 18:10:11 +0100
commite783cd51ba9c5e347bc9f778beafaf3cc2e1e6c5 (patch)
tree441ed396d902763b9f6c528f3041655c97633eb7
parent0b146ceaabe188013112af8f5bfb812b69bac8d4 (diff)
downloadguix-e783cd51ba9c5e347bc9f778beafaf3cc2e1e6c5.tar.gz
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>
-rw-r--r--guix/scripts/pack.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/guix/scripts/pack.scm b/guix/scripts/pack.scm
index 06509ace2d..0b29997200 100644
--- a/guix/scripts/pack.scm
+++ b/guix/scripts/pack.scm
@@ -59,11 +59,16 @@
   #:use-module (srfi srfi-37)
   #:use-module (ice-9 match)
   #:export (compressor?
+            compressor-name
+            compressor-extenstion
+            compressor-command
+            %compressors
             lookup-compressor
             self-contained-tarball
             docker-image
             squashfs-image
 
+            %formats
             guix-pack))
 
 ;; Type of a compression tool.