guix: import: allow empty description

* guix/import/utils.scm (beautify-description)[new-words]: Don't fail
  the `match` when the package has an empty description.

Change-Id: I23e9cfeae1da98bb8705fcfc8ff81906d272d72e
This commit is contained in:
Ekaitz Zarraga 2025-02-16 09:33:26 +01:00
parent dd7a377c38
commit b609498bcf
No known key found for this signature in database
GPG key ID: FDB952BD3F7356D6

View file

@ -389,7 +389,8 @@ LENGTH characters."
(string-suffix? "?" last))
last
(string-append last "."))
(reverse rest))))))
(reverse rest))))
(() new-words))) ;; No description in package
(cleaned
(string-join (map fix-word new-words))))
;; Use double spacing between sentences