~ruther/guix-local

405d043ddd46a2ae5dbd68f2487529e805e8fc1f — Ludovic Courtès 9 years ago f40dfcd
import: github: Tiny cosmetic change.

* guix/import/github.scm (find-extension): Use a one-argument lambda.
1 files changed, 1 insertions(+), 1 deletions(-)

M guix/import/github.scm
M guix/import/github.scm => guix/import/github.scm +1 -1
@@ 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)