all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Winter via Bug reports for GNU Guix <bug-guix@gnu.org>
To: Josselin Poiret <dev@jpoiret.xyz>
Cc: 61885@debbugs.gnu.org
Subject: bug#61885: `guix import go` fails outside of pre-inst-env
Date: Wed, 1 Mar 2023 12:34:07 -0500	[thread overview]
Message-ID: <0D82D682-36DD-48D9-8854-FDE42C580C4B@winter.cafe> (raw)
In-Reply-To: <875ybkolb8.fsf@jpoiret.xyz>

Hi,

> This is way worse: (gnu packages golang) cannot be loaded at all!
> This is caused by a cycle, (gnu packages golang) uses (gnu packages
> check) and vice-versa, and go-github-com-robfig-cron is defined in (gnu
> packages golang)! So depending on whether you first use (gnu packages
> check) or (gnu packages golang), go-github-com-robfig-cron will not have
> been defined yet, hence the error.

Great catch, thank you!

I still wonder what about pre-inst-env makes it so the order is different -- it's still the same code importing it, after all.

Also, just for posterity: I ran into a situation where I was only able to reproduce this from within a Guix shell, though that may be some oddities with regards to the shell caching symlinks in PATH(?)

I'll try to look into at least the latter issue, no clue what's up with pre-inst-env, though.

Thanks,
Winter



  parent reply	other threads:[~2023-03-01 17:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-01  3:42 bug#61885: `guix import go` fails outside of pre-inst-env winter--- via Bug reports for GNU Guix
2023-03-01  9:47 ` Josselin Poiret via Bug reports for GNU Guix
2023-03-01  9:48   ` bug#61885: [PATCH] gnu: go-github-com-robfig-cron-1.2: Move to (gnu packages golang) Josselin Poiret via Bug reports for GNU Guix
2023-03-01 10:40     ` Simon Tournier
2023-03-02 22:31       ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2023-03-01 17:34   ` Winter via Bug reports for GNU Guix [this message]
2023-03-01 17:52   ` bug#61885: `guix import go` fails outside of pre-inst-env Winter via Bug reports for GNU Guix
2023-03-01 21:04     ` 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

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

  git send-email \
    --in-reply-to=0D82D682-36DD-48D9-8854-FDE42C580C4B@winter.cafe \
    --to=bug-guix@gnu.org \
    --cc=61885@debbugs.gnu.org \
    --cc=dev@jpoiret.xyz \
    --cc=winter@winter.cafe \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.