unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Andrew Tropin <andrew@trop.in>
To: 56570@debbugs.gnu.org, public@yoctocell.xyz
Cc: conses <contact@conses.eu>
Subject: bug#56570: generate-documentation can't handle package fields
Date: Fri, 15 Jul 2022 10:03:58 +0300	[thread overview]
Message-ID: <874jzirh5t.fsf@trop.in> (raw)

[-- 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 --]

                 reply	other threads:[~2022-07-15  7:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874jzirh5t.fsf@trop.in \
    --to=andrew@trop.in \
    --cc=56570@debbugs.gnu.org \
    --cc=contact@conses.eu \
    --cc=public@yoctocell.xyz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).