GNU bug report logs - #43498
Guix suggests adding modules that define but don't export the variable

Previous Next

Package: guix;

Reported by: Tobias Geerinckx-Rice <me <at> tobias.gr>

Date: Fri, 18 Sep 2020 23:21:01 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 43498 in the body.
You can then email your comments to 43498 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#43498; Package guix. (Fri, 18 Sep 2020 23:21:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tobias Geerinckx-Rice <me <at> tobias.gr>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 18 Sep 2020 23:21:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: bug-guix <at> gnu.org
Subject: Guix suggests adding modules that define but don't export the variable
Date: Sat, 19 Sep 2020 01:19:52 +0200
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.




Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Thu, 15 Oct 2020 21:40:01 GMT) Full text and rfc822 format available.

Notification sent to Tobias Geerinckx-Rice <me <at> tobias.gr>:
bug acknowledged by developer. (Thu, 15 Oct 2020 21:40:01 GMT) Full text and rfc822 format available.

Message #10 received at 43498-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Tobias Geerinckx-Rice <me <at> tobias.gr>
Cc: 43498-done <at> debbugs.gnu.org
Subject: Re: bug#43498: Guix suggests adding modules that define but don't
 export the variable
Date: Thu, 15 Oct 2020 23:39:42 +0200
Hi,

Tobias Geerinckx-Rice <me <at> 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’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 13 Nov 2020 12:24:14 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 155 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.