From: Josselin Poiret via Bug reports for GNU Guix <bug-guix@gnu.org>
To: Greg Hogan <code@greghogan.com>, 62335@debbugs.gnu.org
Subject: bug#62335: Exception when showing version-control packages
Date: Tue, 21 Mar 2023 20:00:25 +0100 [thread overview]
Message-ID: <87pm92q69i.fsf@jpoiret.xyz> (raw)
In-Reply-To: <CA+3U0Zk53qJkPzGM+wfFpX0e5MsPmMzd0CgVkHiTbF3jrzDbrg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 743 bytes --]
Hi Greg,
Greg Hogan <code@greghogan.com> writes:
> ice-9/boot-9.scm:1685:16: In procedure raise-exception:
> error: pre-commit: unbound variable
This is caused by yet another import cycle: pre-commit is defined in
version-control.scm, which uses python-xyz, which defines
python-jupytext and which has pre-commit among its native-inputs, which
is thus not yet defined (if you tried loading version-control.scm
first).
I think the fix would be to move pre-commit to python-xyz? These import
cycles are getting a bit out of hand, especially since we never catch
them during development... Can we also turn unbound variable warnings
into errors, so that `guix pull` could catch them earlier?
Best,
--
Josselin Poiret
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 682 bytes --]
next prev parent reply other threads:[~2023-03-21 19:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-21 14:25 bug#62335: Exception when showing version-control packages Greg Hogan
2023-03-21 19:00 ` Josselin Poiret via Bug reports for GNU Guix [this message]
2023-03-23 14:35 ` Josselin Poiret via Bug reports for GNU Guix
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=87pm92q69i.fsf@jpoiret.xyz \
--to=bug-guix@gnu.org \
--cc=62335@debbugs.gnu.org \
--cc=code@greghogan.com \
--cc=dev@jpoiret.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).