guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/06: packages: Recognize the '.Z' extension.


From: Ludovic Courtès
Subject: 01/06: packages: Recognize the '.Z' extension.
Date: Wed, 15 Jun 2016 13:28:18 +0000 (UTC)

civodul pushed a commit to branch master
in repository guix.

commit 5257ab6de29b15e9d663311e8f3b291363d44344
Author: Ludovic Courtès <address@hidden>
Date:   Tue Jun 14 21:34:07 2016 +0200

    packages: Recognize the '.Z' extension.
    
    Reported by thomasd on #guix.
    
    * guix/packages.scm (patch-and-repack)[decompression-type]: Add "Z".
---
 guix/packages.scm |    1 +
 1 file changed, 1 insertion(+)

diff --git a/guix/packages.scm b/guix/packages.scm
index d62d1f3..5cba5a5 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]