diff options
author | Ekaitz Zarraga <[email protected]> | 2025-02-16 09:33:26 +0100 |
---|---|---|
committer | Ekaitz Zarraga <[email protected]> | 2025-02-16 11:11:15 +0100 |
commit | b609498bcf9449dc5cc8a5386fbdfcef5f8ebeb0 (patch) | |
tree | eda7295b90cad6050047ad0e796a8a737b744326 | |
parent | dd7a377c38c2a3e0cb80b0e45b32dfbe4577a739 (diff) |
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
-rw-r--r-- | guix/import/utils.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/import/utils.scm b/guix/import/utils.scm index c6b7341f2b..16301f15f3 100644 --- a/guix/import/utils.scm +++ b/guix/import/utils.scm @@ -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 |