import: launchpad: Handle list of source URLs correctly.
* guix/import/launchpad.scm (updated-launchpad-url): Return updated URL when package has a list of URLs, not the old URL.master
parent
ce04a92f78
commit
8b9b5a7f58
|
@ -1,5 +1,5 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2019 Arun Isaac <arunisaac@systemreboot.net>
|
;;; Copyright © 2019, 2020 Arun Isaac <arunisaac@systemreboot.net>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -66,7 +66,7 @@ false if none is recognized"
|
||||||
((? string?)
|
((? string?)
|
||||||
(updated-url source-uri))
|
(updated-url source-uri))
|
||||||
((source-uri ...)
|
((source-uri ...)
|
||||||
(find updated-url source-uri))))))
|
(any updated-url source-uri))))))
|
||||||
(_ #f)))
|
(_ #f)))
|
||||||
|
|
||||||
(define (launchpad-package? package)
|
(define (launchpad-package? package)
|
||||||
|
|
Reference in New Issue