From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Lepiller Subject: Re: installing and searching from custom channel Date: Wed, 22 Apr 2020 09:29:40 -0400 Message-ID: <0D03A94B-6DC2-4B36-A709-BD6A0AEC354A@lepiller.eu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:57576) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRFS7-0005Tk-Nv for help-guix@gnu.org; Wed, 22 Apr 2020 09:30:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jRFS6-0004LX-J7 for help-guix@gnu.org; Wed, 22 Apr 2020 09:30:11 -0400 Received: from lepiller.eu ([2a00:5884:8208::1]:57376) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jRFS5-00045n-9q for help-guix@gnu.org; Wed, 22 Apr 2020 09:30:10 -0400 In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane-mx.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org, Anthony Quizon Le 22 avril 2020 02:23:56 GMT-04:00, Anthony Quizon = a =C3=A9crit : >I'm trying to experiment with my own channel packages=2E > >Here is my current channel code: >https://github=2Ecom/anthonyquizon/guix-channel > >The docs in https://guix=2Egnu=2Eorg/manual/en/html_node/Channels=2Ehtml >mentions >that if I have packages in a subdirectory, I need to specify its >location >in =2Eguix-channel=2E > >However, doing this, 'guix pull' does not work and giving me an error: > > >*|builder for >`/gnu/store/04xj2y92320w5jd2rs3kqcdd4wxg0w78-anthonyquizon-packages=2Edrv= ' >failed to produce output path >`/gnu/store/ky6097zcynxvwdkmgk5vw7p2qrqwyby8-anthonyquizon-packages' > > build of >/gnu/store/04xj2y92320w5jd2rs3kqcdd4wxg0w78-anthonyquizon-packages=2Edrv >failed * > >(I've renamed =2Eguix-channel to _guix-channel for now) > >I tried to add a package in the root folder and was not able to search >or >install it via "guix search hello-foo" and "guix install hello-foo" >after a >"guix pull"=2E > >The package builds fine with "guix build -L =2E anthony-hello"=2E > >Is there something I'm missing? In your case you don't need a =2Eguix-channel because your package modules= are named correctly: In a/b/c=2Escm is module (a b c), no need for a =2Eguix-channel If in a/b/c=2Escm is module (b c), you'll need to specify a as thc subdire= ctory where modules are located=2E Does it make sense?