all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to reference a module defined in another package?
@ 2021-04-23 19:57 mbcladwell
  2021-04-23 22:08 ` Vincent Legoll
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: mbcladwell @ 2021-04-23 19:57 UTC (permalink / raw)
  To: help-guix


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" "4" failed with status 2

artanis/utils.scm is a file within artanis. I use-module (artanis  
utils) to no effect.  Within artanis, utils is defined as a module:

(define-module (artanis artanis)
   #:use-module (artanis utils)
   #:use-module (artanis config)
   #:use-module (artanis env).....

I tried ("artanis:utils" ,artanis "utils") but that doesn't work.
How do I specify artanis/utils.scm as an input module?
Do I need to package artanis/utils.scm separately?
Thanks
Mortimer


===guix.scm===================

(use-modules
   (guix packages)
   ((guix licenses) #:prefix license:)
   (guix download)
   (guix build-system gnu)
   (gnu packages)
   (gnu packages autotools)
   (gnu packages guile)
   (gnu packages guile-xyz)
   (gnu packages pkg-config)
   (gnu packages texinfo)
   (artanis artanis)
   (artanis utils)(artanis irregex))

(package
   (name "limsn")
   (version "0.1")
   (source "./limsn-0.1.tar.gz")
   (build-system gnu-build-system)
   (arguments `())
   (native-inputs
     `(("autoconf" ,autoconf)
       ("automake" ,automake)
       ("pkg-config" ,pkg-config)
       ("texinfo" ,texinfo)
       ("artanis" ,artanis)
       ))
   (inputs `(("guile" ,guile-3.0)
		       ))
   (propagated-inputs `())
   (synopsis "")
   (description "")
   (home-page "www.acme.com")
   (license license:gpl3+))




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-04-26  8:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-23 19:57 How to reference a module defined in another package? mbcladwell
2021-04-23 22:08 ` Vincent Legoll
2021-04-23 22:13   ` Vincent Legoll
2021-04-24 12:56     ` mbcladwell
2021-04-24 18:18       ` Vincent Legoll
2021-04-25 16:08 ` Maxime Devos
2021-04-26  8:19 ` Ricardo Wurmus

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.