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


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’.




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

Previous Next


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