From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4Ly+DZkVhGBEXAEAgWs5BA (envelope-from ) for ; Sat, 24 Apr 2021 14:56:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id sFlWCZkVhGBLOQAAB5/wlQ (envelope-from ) for ; Sat, 24 Apr 2021 12:56:57 +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 2E1D8214E8 for ; Sat, 24 Apr 2021 14:56:56 +0200 (CEST) Received: from localhost ([::1]:43086 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1laHqA-0005oZ-Ea for larch@yhetil.org; Sat, 24 Apr 2021 08:56:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48042) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1laHq1-0005oP-78 for help-guix@gnu.org; Sat, 24 Apr 2021 08:56:45 -0400 Received: from gateway32.websitewelcome.com ([192.185.145.187]:16679) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1laHpz-00041U-0D for help-guix@gnu.org; Sat, 24 Apr 2021 08:56:44 -0400 Received: from cm17.websitewelcome.com (cm17.websitewelcome.com [100.42.49.20]) by gateway32.websitewelcome.com (Postfix) with ESMTP id 4CBD916063 for ; Sat, 24 Apr 2021 07:56:41 -0500 (CDT) Received: from gator3135.hostgator.com ([50.87.144.171]) by cmsmtp with SMTP id aHpwllVRdMGeEaHpxl56O8; Sat, 24 Apr 2021 07:56:41 -0500 X-Authority-Reason: nr=8 Received: from gator3135.hostgator.com ([50.87.144.171]:54256) by gator3135.hostgator.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94) (envelope-from ) id 1laHpv-0030J4-LP; Sat, 24 Apr 2021 07:56:39 -0500 Received: from [74.104.148.148] ([74.104.148.148]) by www.stihie.net (Horde Framework) with HTTPS; Sat, 24 Apr 2021 07:56:37 -0500 Date: Sat, 24 Apr 2021 07:56:37 -0500 Message-ID: <20210424075637.Horde.lKOzEOtGCORo1wJjPdRYyeb@www.stihie.net> From: mbcladwell@stihie.net To: Vincent Legoll Subject: Re: How to reference a module defined in another package? References: <20210423145700.Horde.eqD2H-89KhXCmJyIaPtzwGz@www.stihie.net> In-Reply-To: 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: 1laHpv-0030J4-LP X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: gator3135.hostgator.com [50.87.144.171]:54256 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.145.187; envelope-from=mbcladwell@stihie.net; helo=gateway32.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, RCVD_IN_MSPIKE_H2=-0.001, 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: , Cc: help-guix 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=1619269016; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=KSRTft5gFUD9Y3/3yvurxgaFvSD5AGxYI+yGFqXoS44=; b=bm5MdZymN2auiBQtC4vEvVGHQ+zRAt87YDG6nyo9MZRuggZbTaaQno+ieWipSlfoeBH9uv dh2+0zl0VyEIwTX1hBhK5abclAbET6Jr3vzREK694cqbjeUcSfYWpz+ESDfe/RGuAOWXMx maggnOX5rGGUR+q/EoqgDzZAIlsM+i7XNZCX9uuyRUC4KmEnRPARpDetssNyDCCWjaO0w8 GrgzTboDzkFszdo90+W51+WlRYP48uPwameYRHCYI7zAcVSM0ipfnOaMZXpXXuttOph/E6 A7zZvCm4u3aPlYr/urQ3xlT9FtOsax67f1L5jJaOgD4EqN6/XNKRvuSHyMdchg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619269016; a=rsa-sha256; cv=none; b=Fwlw9Fy03POt3PJqZJ+3aVjTft7FmnyRVqJfrYXJPx4h22vp1vD204d+V9HCFf+PaFSNl4 Hh2mqqYydk6E1fuv/ofmy0um+IaEPuDj/ot9OSeaptwF0a++zcwI2wt4PhuHuustEpQSdG AiYqyOf8nhFrFusJyYBm/jyxa8sTjwK2l4yoURF65nU2HcTDlr1GHNi+zsBBQtndqg2CP5 G0cYuDM6LLZS4D9tesbw2bgGxtvE3XzqctOozD6WAjjltKiJLfXtVByM9lTIJfP3juWHU+ d11AbFOMfazb3EhPxMov9K4/8qIzzp0XBcJCtXT2Ia6+jNfP+lx0jjYbM++pAg== 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: 2E1D8214E8 X-Spam-Score: -0.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: ym2Qa1VGUl1k 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*' /gnu/store/2slcmvlhyr0n5chrr6nyz0df886xb31s-artanis-0.3.1/share/guile/site/2.2/artanis/utils.scm /gnu/store/2slcmvlhyr0n5chrr6nyz0df886xb31s-artanis-0.3.1/lib/guile/2.2/site-ccache/artanis/utils.go /gnu/store/np3v3bifspgqslc7xl2rz2sg08q2wvzq-artanis-0.4.1/share/guile/site/2.2/artanis/utils.scm /gnu/store/np3v3bifspgqslc7xl2rz2sg08q2wvzq-artanis-0.4.1/lib/guile/2.2/site-ccache/artanis/utils.go /gnu/store/0zq9d6gjb6r4d98lgfkh3ccv57dbacq4-artanis-0.4.1/share/guile/site/2.2/artanis/utils.scm /gnu/store/0zq9d6gjb6r4d98lgfkh3ccv57dbacq4-artanis-0.4.1/lib/guile/2.2/site-ccache/artanis/utils.go etc. Likewise I can find artanis/artanis.go and artanis/irregex.go so they are in the local store. If I comment out the artanis/artanis native-input: ;;("artanis" ,artanis) in my guix.scm I get the error: ice-9/boot-9.scm:1669:16: In procedure raise-exception: no code for module (artanis artanis) make: *** [Makefile:1878: limsn/app/controllers/login.go] Error 1 make: *** Waiting for unfinished jobs.... So a native-input of ("artanis" ,artanis) provides artanis/artanis.go How do I specify an input for artanis/utils.go that is within the artanis package but not defined as an external module? But is in my store as artanis/utils.go? The closest I find in the manual would be something like: ("artanis:utils" ,artanis "utils") Which results in the error: guix package: error: reference to invalid output 'utils' of derivation '/gnu/store/v21j7g5xy6r48n94dbj2izs69cb48y5p-artanis-0.4.1.drv' Note that I (use-modules ....(artanis irregex)(artanis artanis)(artanis utils)) but that does not error? Also, at the beginning of the packaging log file where environment variables are displayed I see: environment variable `GUILE_LOAD_PATH' unset environment variable `GUILE_LOAD_COMPILED_PATH' unset environment variable `BASH_LOADABLES_PATH' unset Is this OK? I am in a protected GUIX environment that should not be dependent on system variables, correct? Thanks Mortimer Quoting 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. > > https://guix.gnu.org/manual/en/html_node/Channels.html#Channels > > So I think I also have to read about the new world order... :-) > > -- > Vincent Legoll