guix-commits
[Top][All Lists]
Advanced

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

02/10: import github: Add to extension list.


From: Efraim Flashner
Subject: 02/10: import github: Add to extension list.
Date: Tue, 31 May 2016 19:11:56 +0000 (UTC)

efraim pushed a commit to branch master
in repository guix.

commit b93efac026844c88e947c73c02070231f079182c
Author: Efraim Flashner <address@hidden>
Date:   Tue May 31 18:55:25 2016 +0300

    import github: Add to extension list.
    
    * guix/import/github.scm (find-extension): Add '.tgz' extension.
---
 guix/import/github.scm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/import/github.scm b/guix/import/github.scm
index 29116d7..bbf916c 100644
--- a/guix/import/github.scm
+++ b/guix/import/github.scm
@@ -44,7 +44,7 @@ failure."
   "Return the extension of the archive e.g. '.tar.gz' given a URL, or
 false if none is recognized"
   (find (lambda x (string-suffix? (first x) url))
-        (list ".tar.gz" ".tar.bz2" ".tar.xz" ".zip" ".tar")))
+        (list ".tar.gz" ".tar.bz2" ".tar.xz" ".zip" ".tar" ".tgz")))
 
 (define (updated-github-url old-package new-version)
   ;; Return a url for the OLD-PACKAGE with NEW-VERSION.  If no source url in



reply via email to

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