summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Marusich <cmmarusich@gmail.com>2021-02-24 00:57:09 -0800
committerChris Marusich <cmmarusich@gmail.com>2021-03-10 23:02:02 -0800
commite5fec0cdaea952c45f94d2c2503bdc5119bdfe92 (patch)
treebb588e6027e7da0e6ce55f8a0ee0aa9d9c7a6c59
parent78faf0f608a62b893139d46c17d5f822c315cbc5 (diff)
tests: pack: Fix %gzip-compressor and a failing test.
* tests/pack.scm (%gzip-compressor): Fix the compressor's G-Expression by adding the symbol "list" as the first element of the gexp'd list. Previously, %gzip-compressor caused the "self-contained-tarball" test to fail because it would cause the builder to incorrectly attempt to apply a string like "test-tmp/store/qgfnpsjc8q40fw5jyfxi4hjrppspvs4z-bootstrap-binaries-0/bin/gzip" as if it were a procedure. This test code regression was likely introduced accidentally in commit 5a0997ef7f3968d216328b8c63a6e36dd29a5ab8 ("packages, scripts, utils: Enable multi-threaded xz compression.").
-rw-r--r--tests/pack.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pack.scm b/tests/pack.scm
index e8455b4f37..20dd922ea8 100644
--- a/tests/pack.scm
+++ b/tests/pack.scm
@@ -52,7 +52,7 @@
;; Compressor that uses the bootstrap 'gzip'.
((@ (guix scripts pack) compressor) "gzip"
"gz"
- #~(#+(file-append %bootstrap-coreutils&co "/bin/gzip") "-6n")))
+ #~(list #+(file-append %bootstrap-coreutils&co "/bin/gzip") "-6n")))
(define %tar-bootstrap %bootstrap-coreutils&co)