unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#43498: Guix suggests adding modules that define but don't export the variable
@ 2020-09-18 23:19 Tobias Geerinckx-Rice via Bug reports for GNU Guix
  2020-10-15 21:39 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Tobias Geerinckx-Rice via Bug reports for GNU Guix @ 2020-09-18 23:19 UTC (permalink / raw)
  To: 43498

Guix,

Quick bug report from tribals on #guix:

> Does `gnu/packages/firmware.scm` export `make-arm-trusted-firmware`?
> I'm getting error "error: make-arm-trusted-firmware: unbound variable"
> "hint: Did you forget `(use-modules (gnu packages firmware))'?" when
> trying to use it. And I also did `(use-modules (gnu packages 
> firmware))`

Is it possible for Guix not to suggest private variables, or print a 
different hint in such cases?

Kind regards,

T G-R

Sent from a Web browser. Excuse or enjoy my brevity.




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

* bug#43498: Guix suggests adding modules that define but don't export the variable
  2020-09-18 23:19 bug#43498: Guix suggests adding modules that define but don't export the variable Tobias Geerinckx-Rice via Bug reports for GNU Guix
@ 2020-10-15 21:39 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2020-10-15 21:39 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice; +Cc: 43498-done

Hi,

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

> Quick bug report from tribals on #guix:
>
>> Does `gnu/packages/firmware.scm` export `make-arm-trusted-firmware`?
>> I'm getting error "error: make-arm-trusted-firmware: unbound variable"
>> "hint: Did you forget `(use-modules (gnu packages firmware))'?" when
>> trying to use it. And I also did `(use-modules (gnu packages
>> firmware))`
>
> Is it possible for Guix not to suggest private variables, or print a
> different hint in such cases?

Fixed in 5ef1508942ee083ed22b844f5291e59320016b79: now only modules that
export a matching variable are suggested.

Thanks,
Ludo’.




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

end of thread, other threads:[~2020-10-15 21:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-18 23:19 bug#43498: Guix suggests adding modules that define but don't export the variable Tobias Geerinckx-Rice via Bug reports for GNU Guix
2020-10-15 21:39 ` 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).