guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] gnu: bootstrap: Create a wrapper for guile to set the system


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:39:45 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Mark H Weaver <address@hidden> writes:

> Mark H Weaver <address@hidden> 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.

FYI, I successfully built GNU Hello with that patch applied.

      Mark



reply via email to

[Prev in Thread] Current Thread [Next in Thread]