"guix build" doesn't find modules from extra channels when building from an expression

  • Open
  • quality assurance status badge
Details
2 participants
  • Gábor Boskovits
  • pkill9
Owner
unassigned
Submitted by
pkill9
Severity
normal
Merged with

Debbugs page

pkill9 wrote 5 years ago
(name . bug-guix)(address . bug-guix@gnu.org)
E1ilb5L-0002uc-Su@rmmprod07.runbox
I have added my own repository to my ~/.config/guix/channels.scm (https://gitlab.com/pkill-9/guix-packages-free),but when I run `guix build --expression='(use-modules (pkill9 utils))' it returns "no code for module (pkill9 utils)".

It does find modules from the guix repository though, e.g. `guix build --expression='(use-modules (guix packages))` returns "guix build: error: #<unspecified>: not something we can build" without a "no code for module" error.
Gábor Boskovits wrote 5 years ago
(address . pkill9@runbox.com)(address . 38795@debbugs.gnu.org)
CAE4v=pi9-OZGiwpOH2fy036oA5v3vHNsZneGbabQmzdZBgnJ4Q@mail.gmail.com
This is a possible duplicate of 37399. Can you confirm?

<pkill9@runbox.com> ezt írta (idÅ‘pont: 2019. dec. 29., V, 17:07):
Toggle quote (8 lines)
>
> I have added my own repository to my ~/.config/guix/channels.scm (https://gitlab.com/pkill-9/guix-packages-free), but when I run `guix build --expression='(use-modules (pkill9 utils))' it returns "no code for module (pkill9 utils)".
>
> It does find modules from the guix repository though, e.g. `guix build --expression='(use-modules (guix packages))` returns "guix build: error: #<unspecified>: not something we can build" without a "no code for module" error.
>
>


--
OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
pkill9 wrote 5 years ago
(name . Gábor Boskovits)(address . boskovits@gmail.com)(address . 38795@debbugs.gnu.org)
20200105203325.6c76cc48@runbox.com
Hi Gábor,

Toggle quote (2 lines)
> This is a possible duplicate of 37399. Can you confirm?


If so, yes, it looks like it is caused by the same issue, as when I set
GUILE_LOAD_PATH to point to my repository, it finds the module.

Thanks
Gábor Boskovits wrote 5 years ago
Merge issues on channels not finding modules
(address . control@debbugs.gnu.org)
CAE4v=phCHaZRp5vPjid8QJ3LCcYn+MJjke4Q7frg=5Adv5ra+Q@mail.gmail.com
merge 37399 38795
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 38795@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 38795
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help