HCoop
/
jackhill
/
guix
/
guix.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f40dfcd
)
import: github: Tiny cosmetic change.
author
Ludovic Courtès
<ludo@gnu.org>
Tue, 31 May 2016 20:11:51 +0000
(22:11 +0200)
committer
Ludovic Courtès
<ludo@gnu.org>
Tue, 31 May 2016 21:38:51 +0000
(23:38 +0200)
* guix/import/github.scm (find-extension): Use a one-argument lambda.
guix/import/github.scm
patch
|
blob
|
blame
|
history
diff --git
a/guix/import/github.scm
b/guix/import/github.scm
index
bbf916c
..
9ba9a10
100644
(file)
--- 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)