From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH 4/4] environment: Add '--debug' flag. Date: Thu, 21 Jul 2016 18:38:37 +0200 Message-ID: <878twvx7xu.fsf@gnu.org> References: <20160719164916.6597-1-david@craven.ch> <20160719164916.6597-5-david@craven.ch> <8737n3p4de.fsf@gnu.org> <87twfjkmfq.fsf@gnu.org> 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]:48965) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQGzp-0003Gu-Dw for guix-devel@gnu.org; Thu, 21 Jul 2016 12:38:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bQGzj-0001rC-BI for guix-devel@gnu.org; Thu, 21 Jul 2016 12:38:48 -0400 In-Reply-To: (David Craven's message of "Thu, 21 Jul 2016 18:12:14 +0200") 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: David Craven Cc: guix-devel David Craven skribis: > Maybe I'm doing something wrong then, this is what I get: > I was symlinking individual files into .guix, now I'm symlinking > the whole $HOME/guix/gnu folder into .guix > > guix package -i qemu -L $HOME/guix You must not add Guix=E2=80=99s top-level source tree to GUIX_PACKAGE_PATH (which is what -L does). Directories in the GUIX_PACKAGE_PATH are scanned for all their modules, which are then loaded. However, the Guix source tree contains things that are not even modules, like this build-self.scm file mentioned in the error message. But anyway, I think you=E2=80=99re confusing -L and -l; in my previous mess= age I was referring to =E2=80=98guix environment -l=E2=80=99. HTH! Ludo=E2=80=99.