[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#36333: Misleading hint for url-fetch
From: |
Ludovic Courtès |
Subject: |
bug#36333: Misleading hint for url-fetch |
Date: |
Mon, 24 Jun 2019 21:51:33 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) |
Hello,
Tobias Geerinckx-Rice <address@hidden> 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’.