unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Mark H Weaver <mhw@netris.org>
To: guix-devel@gnu.org
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	[thread overview]
Message-ID: <87h9pezae5.fsf@netris.org> (raw)
In-Reply-To: <87380y1tu3.fsf@netris.org> (Mark H. Weaver's message of "Wed, 08 Jul 2015 12:45:40 -0400")

Mark H Weaver <mhw@netris.org> 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

  reply	other threads:[~2015-07-08 20:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-08 16:45 [PATCH] gnu: bootstrap: Create a wrapper for guile to set the system load path Mark H Weaver
2015-07-08 20:01 ` Mark H Weaver [this message]
2015-07-08 20:39   ` Mark H Weaver
2015-07-09 10:14     ` Manolis Ragkousis
2015-07-09 18:24       ` Manolis Ragkousis
2015-07-10 20:42 ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h9pezae5.fsf@netris.org \
    --to=mhw@netris.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).