From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: a GUIX_PACKAGE_PATH / modules puzzle Date: Sat, 12 May 2018 15:43:20 +0200 Message-ID: <87k1s9c7lz.fsf@elephly.net> References: <20180501223951.whoj67yv2h3t6wyl@abyayala> <87bmdxwc6y.fsf@gmail.com> <20180503053613.dffmd6ag57x26fdt@abyayala> <87a7thxkw2.fsf@gmail.com> <20180503083033.457tdfmh5qmauqb4@abyayala> <20180510222726.46zv7dsm32ufgyhj@abyayala> <20180510232635.ncez2ai4736cysfd@abyayala> <20180511070050.oijp5l6mm5smtvuk@abyayala> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fHUoT-0001Ew-5q for guix-devel@gnu.org; Sat, 12 May 2018 09:43:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fHUoQ-0000y5-3O for guix-devel@gnu.org; Sat, 12 May 2018 09:43:53 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21015) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fHUoP-0000xb-PI for guix-devel@gnu.org; Sat, 12 May 2018 09:43:50 -0400 In-reply-to: <20180511070050.oijp5l6mm5smtvuk@abyayala> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Nils Gillmann Cc: guix-devel@gnu.org Nils Gillmann writes: > Here's what's happening now: > > I took my perl module which is in "pkgs/lang-perl/perl.scm", which contai= ns our basic perl packages, > and moved ( + renamed ) them into (core lang-perl perl) in a new director= y. > > If I run GUIX_PACKAGE_PATH=3D"/home/user/src/core" package -s mc I get re= sults for query "mc". > When I run GUIX_PACKAGE_PATH=3D"/home/user/src/core" package --show=3Dper= l I get the same message > as initially pointed out in the opening post. I don=E2=80=99t understand what the problem is. Your description isn=E2=80= =99t very clear. If you cannot post a minimal example it is virtually impossible for us to help. I=E2=80=99d also like to suggest asking questions on guile-user when you ha= ve questions about Guile. If you have a file =E2=80=9Ccore/lang-perl/perl.scm=E2=80=9D and the module= is called =E2=80=9C(core lang-perl perl)=E2=80=9D then you should not have =E2=80=9Cc= ore=E2=80=9D itself on GUIX_PACKAGE_PATH but its parent directory. -- Ricardo