unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / 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

unofficial mirror of bug-guix@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-bugs/0 guix-bugs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-bugs guix-bugs/ https://yhetil.org/guix-bugs \
		bug-guix@gnu.org
	public-inbox-index guix-bugs

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.bugs
	nntp://news.gmane.io/gmane.comp.gnu.guix.bugs


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git