From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: [PATCH] gnu: bootstrap: Create a wrapper for guile to set the system load path Date: Wed, 08 Jul 2015 16:01:38 -0400 Message-ID: <87h9pezae5.fsf@netris.org> References: <87380y1tu3.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35783) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCvXd-0001IR-AK for guix-devel@gnu.org; Wed, 08 Jul 2015 16:02:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZCvXZ-00019n-9c for guix-devel@gnu.org; Wed, 08 Jul 2015 16:02:01 -0400 Received: from world.peace.net ([50.252.239.5]:38917) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCvXZ-00014C-5H for guix-devel@gnu.org; Wed, 08 Jul 2015 16:01:57 -0400 In-Reply-To: <87380y1tu3.fsf@netris.org> (Mark H. Weaver's message of "Wed, 08 Jul 2015 12:45:40 -0400") 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: guix-devel@gnu.org Mark H Weaver writes: > We currently use gnu/packages/patches/guile-relocatable.patch to set the > system load path in the bootstrap guile. However, that patch depends on > /proc/self/exe which is not present on the Hurd. Therefore, I came up > with another approach in the attached patch. After unpacking the > bootstrap guile, we use it to create its own wrapper that sets the > GUILE_SYSTEM_PATH and GUILE_SYSTEM_COMPILED_PATH environment variables. > > My only concern is that these variables will be present in the > environment in any subprograms launched by the bootstrap guile, and so > if the bootstrap guile ever tries to run a different version of guile, > those variable settings may cause trouble. 'guile-final' built successfully on x86_64 with this patch, and that was the package that I was most worried about, so maybe everything will work out in practice. Mark