summaryrefslogtreecommitdiff
path: root/guix/import
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-05-31 22:11:51 +0200
committerLudovic Courtès <ludo@gnu.org>2016-05-31 23:38:51 +0200
commit405d043ddd46a2ae5dbd68f2487529e805e8fc1f (patch)
tree18f8d8ec8cdff9cfed6f2f0912382c7c883d2bbf /guix/import
parentf40dfcd055213c14c51c8117ce03d63f4820c4b5 (diff)
import: github: Tiny cosmetic change.
* guix/import/github.scm (find-extension): Use a one-argument lambda.
Diffstat (limited to 'guix/import')
-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 bbf916ceeb..9ba9a10ba0 100644
--- a/guix/import/github.scm
+++ b/guix/import/github.scm
@@ -43,7 +43,7 @@ failure."
(define (find-extension url)
"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))
+ (find (lambda (x) (string-suffix? x url))
(list ".tar.gz" ".tar.bz2" ".tar.xz" ".zip" ".tar" ".tgz")))
(define (updated-github-url old-package new-version)