Browse Source

lint: source: Always return a list.

Fixes a regression introduced in
c10526672e.

Previously we would return *unspecified* for a package whose source is
not an origin.

* guix/lint.scm (check-source): Add alternate 'if' branch.
wip-filesearch
Ludovic Courtès 1 year ago
parent
commit
e5c0005956
No known key found for this signature in database GPG Key ID: 90B11993D9AEBB5
  1. 3
      guix/lint.scm

3
guix/lint.scm

@ -818,7 +818,8 @@ descriptions maintained upstream."
(warnings-for-uris
(list (string->uri (git-reference-url (origin-uri origin))))))
(else
'())))))
'()))
'())))
(define (check-source-file-name package)
"Emit a warning if PACKAGE's origin has no meaningful file name."

Loading…
Cancel
Save