From b609498bcf9449dc5cc8a5386fbdfcef5f8ebeb0 Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Sun, 16 Feb 2025 09:33:26 +0100 Subject: [PATCH] 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 --- guix/import/utils.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/guix/import/utils.scm b/guix/import/utils.scm index c6b7341f2b1..16301f15f3e 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