mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-15 19:35:25 -05:00
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.
This commit is contained in:
parent
ce04a92f78
commit
8b9b5a7f58
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
;;; 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.
|
||||
;;;
|
||||
|
@ -66,7 +66,7 @@ (define (updated-url url)
|
|||
((? string?)
|
||||
(updated-url source-uri))
|
||||
((source-uri ...)
|
||||
(find updated-url source-uri))))))
|
||||
(any updated-url source-uri))))))
|
||||
(_ #f)))
|
||||
|
||||
(define (launchpad-package? package)
|
||||
|
|
Loading…
Reference in a new issue