HCoop
/
jackhill
/
guix
/
guix.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d46283
)
gnu-maintenance: Add missing type check.
author
Ludovic Courtès
<ludo@gnu.org>
Mon, 5 May 2014 07:00:00 +0000
(09:00 +0200)
committer
Ludovic Courtès
<ludo@gnu.org>
Mon, 5 May 2014 07:00:00 +0000
(09:00 +0200)
* guix/gnu-maintenance.scm (gnu-package?): Only call 'mirror-type' when
URL is a string.
guix/gnu-maintenance.scm
patch
|
blob
|
blame
|
history
diff --git
a/guix/gnu-maintenance.scm
b/guix/gnu-maintenance.scm
index
d8b6af9
..
7b608da
100644
(file)
--- a/
guix/gnu-maintenance.scm
+++ b/
guix/gnu-maintenance.scm
@@
-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