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.
gn-latest-20200725
Ludovic Courtès 1 year ago
parent
commit
e5c0005956
No known key found for this signature in database GPG Key ID: 90B11993D9AEBB5
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      guix/lint.scm

+ 2
- 1
guix/lint.scm View File

@ -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