packages: Recognize the '.Z' extension.

Reported by thomasd on #guix.

* guix/packages.scm (patch-and-repack)[decompression-type]: Add "Z".
This commit is contained in:
Ludovic Courtès 2016-06-14 21:34:07 +02:00
parent 6dc554fa2a
commit 5257ab6de2
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -406,6 +406,7 @@ (define lookup-input
(define decompression-type (define decompression-type
(cond ((string-suffix? "gz" source-file-name) "gzip") (cond ((string-suffix? "gz" source-file-name) "gzip")
((string-suffix? "Z" source-file-name) "gzip")
((string-suffix? "bz2" source-file-name) "bzip2") ((string-suffix? "bz2" source-file-name) "bzip2")
((string-suffix? "lz" source-file-name) "lzip") ((string-suffix? "lz" source-file-name) "lzip")
((string-suffix? "zip" source-file-name) "unzip") ((string-suffix? "zip" source-file-name) "unzip")