From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Own guix repository (channel) Date: Tue, 04 Dec 2012 17:15:39 +0100 Message-ID: <87hao1ssic.fsf@gnu.org> References: <405731354605224@web28g.yandex.ru> <87vccixihv.fsf@gnu.org> <604181354616383@web16d.yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:42216) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TfvB2-0006CW-8u for bug-guix@gnu.org; Tue, 04 Dec 2012 11:17:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TfvA6-0005ln-AD for bug-guix@gnu.org; Tue, 04 Dec 2012 11:16:56 -0500 Received: from mail1-relais-roc.national.inria.fr ([192.134.164.82]:27715) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TfvA6-0005lW-3V for bug-guix@gnu.org; Tue, 04 Dec 2012 11:15:58 -0500 In-Reply-To: <604181354616383@web16d.yandex.ru> (Alexey Shrub's message of "Tue, 04 Dec 2012 14:19:43 +0400") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Alexey Shrub Cc: "bug-guix@gnu.org" Hi, Alexey Shrub skribis: > For example, package01 depend on package02, package01 described by Scheme= file in current directory, > if I do > guix-package --install=3Dpackage01 > where guix will search package02? In current directory too? Currently, guix-package and guix-build look for packages in the (distro packages ...) modules. More precisely, they look for all the variables exported by all these modules that match =E2=80=98package?=E2=80= =99, and pick up one that has the right name. In your case, package01 would have to be defined and exported in a module named (distro packages XXX). That module must be in Guile=E2=80=99s search path (info "(guile) Load Paths"). Does it answer your question? Ludo=E2=80=99.