[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to reference a module defined in another package?
From: |
mbcladwell |
Subject: |
How to reference a module defined in another package? |
Date: |
Fri, 23 Apr 2021 14:57:00 -0500 |
User-agent: |
Horde Application Framework 5 |
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+))