aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2016-05-31 18:55:25 +0300
committerEfraim Flashner <efraim@flashner.co.il>2016-05-31 22:05:44 +0300
commitb93efac026844c88e947c73c02070231f079182c (patch)
treefc87617f3534fd341a18eb366b7ff9bc8b150602
parent57d83cd29bd4b590a9819a897af90c8cff58d09b (diff)
downloadguix-b93efac026844c88e947c73c02070231f079182c.tar
guix-b93efac026844c88e947c73c02070231f079182c.tar.gz
import github: Add to extension list.
* guix/import/github.scm (find-extension): Add '.tgz' extension.
-rw-r--r--guix/import/github.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/import/github.scm b/guix/import/github.scm
index 29116d79f0..bbf916ceeb 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