From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id zOyuB2Mng2AbDwEAgWs5BA (envelope-from ) for ; Fri, 23 Apr 2021 22:00:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id yD0HAmMng2DYMwAAbx9fmQ (envelope-from ) for ; Fri, 23 Apr 2021 20:00:35 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3B2341E0FC for ; Fri, 23 Apr 2021 22:00:34 +0200 (CEST) Received: from localhost ([::1]:35902 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1la1yb-0007fo-Do for larch@yhetil.org; Fri, 23 Apr 2021 16:00:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45970) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1la1yN-0007e4-7H for help-guix@gnu.org; Fri, 23 Apr 2021 16:00:20 -0400 Received: from gateway21.websitewelcome.com ([192.185.45.212]:43943) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1la1yK-0008Kh-Dn for help-guix@gnu.org; Fri, 23 Apr 2021 16:00:18 -0400 Received: from cm11.websitewelcome.com (cm11.websitewelcome.com [100.42.49.5]) by gateway21.websitewelcome.com (Postfix) with ESMTP id 10D1F401247C0 for ; Fri, 23 Apr 2021 14:59:07 -0500 (CDT) Received: from gator3135.hostgator.com ([50.87.144.171]) by cmsmtp with SMTP id a1vGlwPfWPkfta1vGl7Y85; Fri, 23 Apr 2021 14:57:06 -0500 X-Authority-Reason: nr=8 Received: from gator3135.hostgator.com ([50.87.144.171]:31102) by gator3135.hostgator.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94) (envelope-from ) id 1la1vF-004OYY-3p for help-guix@gnu.org; Fri, 23 Apr 2021 14:57:05 -0500 Received: from [74.104.148.148] ([74.104.148.148]) by www.stihie.net (Horde Framework) with HTTPS; Fri, 23 Apr 2021 14:57:00 -0500 Date: Fri, 23 Apr 2021 14:57:00 -0500 Message-ID: <20210423145700.Horde.eqD2H-89KhXCmJyIaPtzwGz@www.stihie.net> From: mbcladwell@stihie.net To: help-guix@gnu.org Subject: How to reference a module defined in another package? User-Agent: Horde Application Framework 5 Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator3135.hostgator.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - stihie.net X-BWhitelist: no X-Source-IP: 50.87.144.171 X-Source-L: Yes X-Exim-ID: 1la1vF-004OYY-3p X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: gator3135.hostgator.com [50.87.144.171]:31102 X-Source-Auth: mbcladwell@stihie.net X-Email-Count: 1 X-Source-Cap: cGxhcGFuO3BsYXBhbjtnYXRvcjMxMzUuaG9zdGdhdG9yLmNvbQ== X-Local-Domain: yes Received-SPF: pass client-ip=192.185.45.212; envelope-from=mbcladwell@stihie.net; helo=gateway21.websitewelcome.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619208034; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=xFE2yH4flkgmEOECV3dIaVdzMIKuStEUlQMKN1fGFM4=; b=XJFpJzpboJwwu0Ai4CDlGlogPmJAeosjlXRxn7+lvhQJz6v1ezqsZ3GHEV/U0M0rBkUDlL BJ/NYxk6bCVQrxdzfyzPk8jl3tqWrhAIFJJsLo+JagHrDUnH6e+OlhQ5MtlFtmX44mBJTh 6fDgUSjuCS6sE9P1CPtii0aUF3z278FwVkIyng/vnmOZ0MwGDpx7PIiyLuh4ylp7iN1yNY kPJgLQO2KnmlFdRhM8pRZVWStGUoQB5jnGiV2k5NbitDPBI/5xs8lneQPL68T9WoI3cOVP 8XnwRKz+ywdXPhMMqJd3Ve1UcrW8kZ1HnOBP9DKDwn+lIlV3Ade/3csaci39rw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619208034; a=rsa-sha256; cv=none; b=aidj3JbVq6+WpEJH39QJdOEJfjre+7+rSSn0UlPrihzSMq6XA/Qt5IahB6aJyL+iqU6giE Jq3KTcTEaDXJ/g4zSQy8HLsD8DCgQZYoPFX8o7AoICRzwtbkeJnssHkrSK+m3NnIk4SClV fCoTO/i7FRtAnTYy4SAFJHrP2JmERLnQnAC4WMitkhBpOZVXFbdD1qSxbvn6w8wAIdbkmN I30Jovi2xye3a2CxPBQr3Bwkw/OBH1xOgL2jHrxB7LUW/uSudoI3NHGVF0blqVh5yDdMoE BfYbO6gEb69fHd0TmUWQ5mKTZj61s0vOwewuiXHDs7ioS1zGFIAPxJqqLlI9vw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -0.94 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 3B2341E0FC X-Spam-Score: -0.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: 08ji6c96DxQ6 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+))