unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#56570: generate-documentation can't handle package fields
@ 2022-07-15  7:03 Andrew Tropin
  0 siblings, 0 replies; only message in thread
From: Andrew Tropin @ 2022-07-15  7:03 UTC (permalink / raw)
  To: 56570, public; +Cc: conses

[-- Attachment #1: Type: text/plain, Size: 1242 bytes --]


Minimal reproducer:

--8<---------------cut here---------------start------------->8---
(use-modules (gnu services configuration)
             (gnu packages mail))

(define-configuration/no-serialization home-goimapnotify-configuration
  (package
    (package go-gitlab.com-shackra-goimapnotify)
    "The @code{goimapnotify} package to use."))

(generate-documentation
 `((home-goimapnotify-configuration
    ,home-goimapnotify-configuration-fields))
 'home-goimapnotify-configuration)
--8<---------------cut here---------------end--------------->8---

Error:

--8<---------------cut here---------------start------------->8---
(generate-documentation
 `((home-goimapnotify-configuration
    ,home-goimapnotify-configuration-fields))
 'home-goimapnotify-configuration)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
In procedure symbol->string: Wrong type argument in position 1 (expecting symbol): #f


[Debugging level: 18]
--8<---------------cut here---------------end--------------->8---

I suspect that problematic code is here:
https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/configuration.scm?h=6505f727e1824391b888dd0c2c60cf64ec66955a#n308

-- 
Best regards,
Andrew Tropin

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-15  7:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-15  7:03 bug#56570: generate-documentation can't handle package fields Andrew Tropin

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).