unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Tobias Geerinckx-Rice <me@tobias.gr>
Cc: 36333@debbugs.gnu.org
Subject: bug#36333: Misleading hint for url-fetch
Date: Mon, 24 Jun 2019 21:51:33 +0200	[thread overview]
Message-ID: <875zou69tm.fsf@gnu.org> (raw)
In-Reply-To: <87zhm9s72i.fsf@nckx> (Tobias Geerinckx-Rice's message of "Sat, 22 Jun 2019 22:23:17 +0200")

Hello,

Tobias Geerinckx-Rice <me@tobias.gr> skribis:

> I just encountered the following:
>
>  foo.scm:4:2: error: url-fetch: unbound variable
>  hint: Did you forget `(use-modules (guix build download))'?
>
> Actually importing that module, instead of (guix download), will cause
> some other very hard-to-debug error that I can't remember but
> coincidentally helped someone fix on #guix the other day.

Oh, bad hint indeed.

Now, the program cannot determine that of the two ‘url-fetch’, only one
makes sense.

Should it search further and propose all the possible options?  In
general there won’t be more than a couple of options.

Thanks,
Ludo’.

      parent reply	other threads:[~2019-06-24 19:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-22 20:23 bug#36333: Misleading hint for url-fetch Tobias Geerinckx-Rice
2019-06-23  6:18 ` Gábor Boskovits
2019-06-24 19:51 ` Ludovic Courtès [this message]

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=875zou69tm.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=36333@debbugs.gnu.org \
    --cc=me@tobias.gr \
    /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).