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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#43498: closed (Guix suggests adding modules that define but
 don't export the variable)
Date: Thu, 15 Oct 2020 21:40:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 15 Oct 2020 23:39:42 +0200
with message-id <871rhzb23l.fsf <at> gnu.org>
and subject line Re: bug#43498: Guix suggests adding modules that define but don't export the variable
has caused the debbugs.gnu.org bug report #43498,
regarding Guix suggests adding modules that define but don't export the variable
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
43498: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=43498
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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.


[Message part 3 (message/rfc822, inline)]
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’.


This bug report was last modified 4 years and 220 days ago.

Previous Next


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