me
/
guix
Archived
1
0
Fork 0

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
Arun Isaac 2020-07-04 23:42:02 +05:30
parent ce04a92f78
commit 8b9b5a7f58
No known key found for this signature in database
GPG Key ID: 2E25EE8B61802BB3
1 changed files with 2 additions and 2 deletions

View File

@ -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)