unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#36333: Misleading hint for url-fetch
@ 2019-06-22 20:23 Tobias Geerinckx-Rice
  2019-06-23  6:18 ` Gábor Boskovits
  2019-06-24 19:51 ` Ludovic Courtès
  0 siblings, 2 replies; 3+ messages in thread
From: Tobias Geerinckx-Rice @ 2019-06-22 20:23 UTC (permalink / raw)
  To: 36333

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

Guix,

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.

Now I understand how they got to that bad place.

Kind regards,

T G-R

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#36333: Misleading hint for url-fetch
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Gábor Boskovits @ 2019-06-23  6:18 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice; +Cc: 36333

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

Hello,

Tobias Geerinckx-Rice <me@tobias.gr> ezt írta (időpont: 2019. jún. 22.,
Szo, 20:24):

> Guix,
>
> I just encountered the following:
>
>
I've also seen that.

  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.
>
> Now I understand how they got to that bad place.
>
> Kind regards,
>
> T G-R
>

Best regards,
g_bor

[-- Attachment #2: Type: text/html, Size: 1172 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#36333: Misleading hint for url-fetch
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2019-06-24 19:51 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice; +Cc: 36333

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’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-06-24 19:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

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).