From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nils Gillmann Subject: Re: a GUIX_PACKAGE_PATH / modules puzzle Date: Sat, 12 May 2018 19:45:36 +0000 Message-ID: <20180512194536.qgnxh2jt255bssch@abyayala> 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> <87k1s9c7lz.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59396) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fHaS6-0008Em-Ij for guix-devel@gnu.org; Sat, 12 May 2018 15:45:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fHaS5-0000FE-Lk for guix-devel@gnu.org; Sat, 12 May 2018 15:45:10 -0400 Received: from conspiracy.of.n0.is ([2a01:4f8:1c0c:7ad0::1]:43500) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fHaS5-0000EG-Ab for guix-devel@gnu.org; Sat, 12 May 2018 15:45:09 -0400 Content-Disposition: inline In-Reply-To: <87k1s9c7lz.fsf@elephly.net> 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: Ricardo Wurmus Cc: guix-devel@gnu.org, Nils Gillmann Ricardo Wurmus transcribed 1.0K bytes: > > Nils Gillmann writes: > > > Here's what's happening now: > > > > I took my perl module which is in "pkgs/lang-perl/perl.scm", which contains our basic perl packages, > > and moved ( + renamed ) them into (core lang-perl perl) in a new directory. > > > > If I run GUIX_PACKAGE_PATH="/home/user/src/core" package -s mc I get results for query "mc". > > When I run GUIX_PACKAGE_PATH="/home/user/src/core" package --show=perl I get the same message > > as initially pointed out in the opening post. > > I don’t understand what the problem is. Your description isn’t very > clear. If you cannot post a minimal example it is virtually impossible > for us to help. I am not sure if I am allowed to point to my git server here. The single repository includes no code that is against the Guidelines Guix follows, but there are repositories on it which don't and which (currently) are still usable with Guix. In any case I've decided to move the core packages for now back into another repository. If I encounter this problem again, I'll provide more details. > I’d also like to suggest asking questions on guile-user when you have > questions about Guile. Okay, thanks. > If you have a file “core/lang-perl/perl.scm” and the module is called > “(core lang-perl perl)” then you should not have “core” itself on > GUIX_PACKAGE_PATH but its parent directory. In my example (pkgs lang-perl perl) itself had the parent directory "pkgs". I admit, code examples would've made it more clear.. Since we can point to github.com regularly, I think my private server would not be considered problematic? > -- > Ricardo