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:
a8c8f6f
)
lint: Avoid calls to 'package-field-location' with #f as the field.
author
Ludovic Courtès
<ludo@gnu.org>
Sun, 23 Aug 2020 20:11:31 +0000
(22:11 +0200)
committer
Ludovic Courtès
<ludo@gnu.org>
Sun, 23 Aug 2020 21:05:16 +0000
(23:05 +0200)
* guix/lint.scm (%make-warning): Call 'package-field-location' only when
FIELD is true.
guix/lint.scm
patch
|
blob
|
blame
|
history
diff --git
a/guix/lint.scm
b/guix/lint.scm
index
71ce931
..
4a6abe4
100644
(file)
--- a/
guix/lint.scm
+++ b/
guix/lint.scm
@@
-139,7
+139,7
@@
message-text
message-data
(or location
- (
package-field-location package field
)
+ (
and field (package-field-location package field)
)
(package-location package))))
(define-syntax make-warning