Message ID | f23c811302f02704428288f67b4a13a410fedc01.1624488122.git.iskarian@mgsn.dev |
---|---|
State | Accepted |
Headers | show |
Series | [bug#49200] import: go: Fix match-error in 'go-package-description' | expand |
Context | Check | Description |
---|---|---|
cbaines/comparison | success | View comparision |
cbaines/git branch | success | View Git branch |
cbaines/applying patch | success | View Laminar job |
cbaines/issue | success | View issue |
On Wed, 23 Jun 2021 15:46:46 -0700 Sarah Morgensen via Guix-patches via <guix-patches@gnu.org> wrote: > * guix/import/go.scm (go-package-description): Make sure description* > is always a list, so the result is properly matched. Pushed as 9d9152425e96c408357d0f4961767a5c08076c13 Thanks, Björn
diff --git a/guix/import/go.scm b/guix/import/go.scm index d110954664..cf8c62abe2 100644 --- a/guix/import/go.scm +++ b/guix/import/go.scm @@ -186,8 +186,9 @@ e.g. \"google.golang.org/protobuf/proto\"." (description (if (not (null? overview)) overview (select-content sxml))) - (description* (and (not (null? description)) - (first description)))) + (description* (if (not (null? description)) + (first description) + description))) (match description* (() #f) ;nothing selected ((p elements ...)