civodul pushed a commit to branch master
in repository guix.
commit 405d043ddd46a2ae5dbd68f2487529e805e8fc1f
Author: Ludovic Courtès <[email protected]>
Date: Tue May 31 22:11:51 2016 +0200
import: github: Tiny cosmetic change.
* guix/import/github.scm (find-extension): Use a one-argument lambda.
---
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 bbf916c..9ba9a10 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)