aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-03-17 17:37:00 +0100
committerLudovic Courtès <ludo@gnu.org>2017-03-17 23:25:53 +0100
commit48b444304e206c35cf2c8e0d87a4711f1aac4fd4 (patch)
tree9dbf39beb8df6b5cb7a926ab13dbd3ff89102264 /tests
parent7c78beb33cbed12ac062060b0ea898583b9430b0 (diff)
downloadpatches-48b444304e206c35cf2c8e0d87a4711f1aac4fd4.tar
patches-48b444304e206c35cf2c8e0d87a4711f1aac4fd4.tar.gz
pack: Move absolute file name to <compressor>.
* guix/scripts/pack.scm (<compressor>)[package]: Remove. [command]: Document as being a gexp with an absolute file name. (%compressors): Adjust accordingly. (self-contained-tarball): Simplify PATH expression. Move 'string-join' for the compressor command on the build side. (docker-image): Simplify PATH expression. * tests/pack.scm (%gzip-compressor): Adjust accordingly.
Diffstat (limited to 'tests')
-rw-r--r--tests/pack.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/pack.scm b/tests/pack.scm
index de9ef8e6ab..eb643c3229 100644
--- a/tests/pack.scm
+++ b/tests/pack.scm
@@ -42,7 +42,8 @@
(define %gzip-compressor
;; Compressor that uses the bootstrap 'gzip'.
((@ (guix scripts pack) compressor) "gzip"
- %bootstrap-coreutils&co "gz" '("gzip" "-6n")))
+ "gz"
+ #~(#+(file-append %bootstrap-coreutils&co "/bin/gzip") "-6n")))
(define %tar-bootstrap %bootstrap-coreutils&co)