Browse Source

gnu-maintenance: Add missing type check.

* guix/gnu-maintenance.scm (gnu-package?): Only call 'mirror-type' when
  URL is a string.
gn-latest-20200428
Ludovic Courtès 6 years ago
parent
commit
515eba4543
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      guix/gnu-maintenance.scm

+ 1
- 1
guix/gnu-maintenance.scm View File

@@ -176,7 +176,7 @@ network to check in GNU's database."

(let ((url (and=> (package-source package) origin-uri))
(name (package-name package)))
(case (and url (mirror-type url))
(case (and (string? url) (mirror-type url))
((gnu) #t)
((non-gnu) #f)
(else


Loading…
Cancel
Save