From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: [PATCH 1/4] build: Add more variables to (guix config). Date: Wed, 29 Jul 2015 11:35:21 +0300 Message-ID: <87r3nrl5ti.fsf@gmail.com> References: <1438033720-30958-1-git-send-email-mthl@openmailbox.org> <1438033720-30958-2-git-send-email-mthl@openmailbox.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53381) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKMpk-0003cn-8F for guix-devel@gnu.org; Wed, 29 Jul 2015 04:35:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZKMpg-0007a2-Mk for guix-devel@gnu.org; Wed, 29 Jul 2015 04:35:28 -0400 Received: from mail-lb0-x236.google.com ([2a00:1450:4010:c04::236]:36120) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKMpg-0007ZT-Ej for guix-devel@gnu.org; Wed, 29 Jul 2015 04:35:24 -0400 Received: by lbbqi7 with SMTP id qi7so2070785lbb.3 for ; Wed, 29 Jul 2015 01:35:23 -0700 (PDT) In-Reply-To: <1438033720-30958-2-git-send-email-mthl@openmailbox.org> (Mathieu Lirzin's message of "Mon, 27 Jul 2015 23:48:37 +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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Mathieu Lirzin Cc: guix-devel@gnu.org Mathieu Lirzin (2015-07-28 00:48 +0300) wrote: > * guix/config.scm.in (%prefix, %guile-module-dir): New variables. > * emacs/guix-helper.scm.in: Rename to ... > * emacs/guix-helper.scm: ... this. New file. Use them. > * .gitignore, configure.ac: Adjust accordingly. I'm not sure about this patch. See (search for "guix-helper" there). It may not be reliable to use other guix modules in "emacs/guix-helper.scm" (or in "scripts/guix") because the path of guix modules may not be in guile %load-path. The main purpose of these files ("emacs/guix-helper.scm" and "scripts/guix") is augmenting %load-path and %load-compiled-path, so that guix modules could be used later on. So if (for some strange reason) guile will not know where to find guix modules, Geiser REPL will not be started as (guix config) module will be missing. -- Alex