mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-18 08:51:48 -05:00
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:
parent
6dc554fa2a
commit
5257ab6de2
1 changed files with 1 additions and 0 deletions
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue