diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2024-02-25 15:47:13 -0500 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-08-31 10:44:56 +0200 |
commit | d1b8834927d50d736d1a08a2f26b9f8d2dca6fed (patch) | |
tree | 358d8085746d60e92f94391913d1578e6b349e5f /gnu/installer | |
parent | 966fc61144d01d41633de87191b43335a768dcfd (diff) | |
download | guix-d1b8834927d50d736d1a08a2f26b9f8d2dca6fed.tar.gz guix-d1b8834927d50d736d1a08a2f26b9f8d2dca6fed.zip |
gnu: ld-wrapper: Also unset GUILE_LOAD_PATH.
The following problem was discovered while attempting to configure Guix to use
a locally built Guile tree, via its meta/uninstalled-env script, which would
attempt to use the newer Guile source files and fail with:
Pre-boot error; key: unbound-variable, args: (#f "Unbound variable:
~S" (error) #f)collect2: fatal error: ld terminated with signal 6 [Aborted]
With the following change, a Guix user may now configure their build to use a
locally built Guile with e.g.:
~/src/guile/meta/uninstalled-env ./configure --localstatedir=/var \
--sysconfdir=/etc
* gnu/packages/ld-wrapper.in: Unset GUILE_LOAD_PATH. Also unset
GUILE_SYSTEM_PATH, for symmetry. Streamline exec call, using the now fixed
'-l' option.
(ld-wrapper): Fix args being a nested list, and strip its arg0.
Series-to: 69396@debbugs.gnu.org
Series-postfix: core-updates
Series-version: 2
Series-changes: 2
- Revert to load-compiled scheme to load ld.go
- Refine comment
Change-Id: Iaaa721019f3646d851202bb018214ec9fcc04fd4
Diffstat (limited to 'gnu/installer')
0 files changed, 0 insertions, 0 deletions