summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-06-14 21:34:07 +0200
committerLudovic Courtès <ludo@gnu.org>2016-06-15 15:26:30 +0200
commit5257ab6de29b15e9d663311e8f3b291363d44344 (patch)
treef751718dfaad22ef5d7d9eaed312f97e9af4e8ea
parent6dc554fa2a82ae049411af28facba2039e3db79e (diff)
packages: Recognize the '.Z' extension.
Reported by thomasd on #guix. * guix/packages.scm (patch-and-repack)[decompression-type]: Add "Z".
-rw-r--r--guix/packages.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/guix/packages.scm b/guix/packages.scm
index d62d1f3343..5cba5a5121 100644
--- a/guix/packages.scm
+++ b/guix/packages.scm
@@ -406,6 +406,7 @@ IMPORTED-MODULES specify modules to use/import for use by SNIPPET."
(define decompression-type
(cond ((string-suffix? "gz" source-file-name) "gzip")
+ ((string-suffix? "Z" source-file-name) "gzip")
((string-suffix? "bz2" source-file-name) "bzip2")
((string-suffix? "lz" source-file-name) "lzip")
((string-suffix? "zip" source-file-name) "unzip")