Re: How to reference a module defined in another package?

2021-04-26 Thread Ricardo Wurmus
Hi, mbcladw...@stihie.net writes: artanis/utils.scm is a file within artanis. I use-module (artanis utils) to no effect. Within artanis, utils is defined as a module: There must be some confusion here: whatever modules Artanis provides has no impact on your Guix manifest. For Guix we

Re: How to reference a module defined in another package?

2021-04-25 Thread Maxime Devos
mbcladw...@stihie.net schreef op vr 23-04-2021 om 14:57 [-0500]: > Hi, > I am trying to package an application, my guix.scm is below. The > build starts OK but fails with the error: > > ice-9/boot-9.scm:1669:16: In procedure raise-exception: > no code for module (artanis utils) > make: ***

Re: How to reference a module defined in another package?

2021-04-24 Thread Vincent Legoll
Hello, On Sat, Apr 24, 2021 at 2:56 PM wrote: > Thanks but I don't see how channels will help me. Artanis is in the > public Guix repository. If I query my local store for the missing > module: Sorry, I misunderstood, and thought that your module was outside. -- Vincent Legoll

Re: How to reference a module defined in another package?

2021-04-24 Thread mbcladwell
Thanks but I don't see how channels will help me. Artanis is in the public Guix repository. If I query my local store for the missing module: mbc@HP8300:~/temp/limsn$ find /gnu/store -wholename '*artanis/utils*'

Re: How to reference a module defined in another package?

2021-04-23 Thread Vincent Legoll
On Sat, Apr 24, 2021 at 12:08 AM Vincent Legoll wrote: > I think this may be of help: > > https://guix.gnu.org/cookbook/en/html_node/GUIX_005fPACKAGE_005fPATH.html And the first thing this page tells you, is to go have a look at the new way of doing this kind of things: channels.

Re: How to reference a module defined in another package?

2021-04-23 Thread Vincent Legoll
Hello, I think this may be of help: https://guix.gnu.org/cookbook/en/html_node/GUIX_005fPACKAGE_005fPATH.html The error seems to be that it does not find the code, that your use module is trying to load. -- Vincent Legoll

How to reference a module defined in another package?

2021-04-23 Thread mbcladwell
Hi, I am trying to package an application, my guix.scm is below. The build starts OK but fails with the error: ice-9/boot-9.scm:1669:16: In procedure raise-exception: no code for module (artanis utils) make: *** [Makefile:1878: limsn/app/controllers/target.go] Error 1 command "make" "-j"