guix-commits
[Top][All Lists]
Advanced

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

04/07: ld-wrapper: Unset 'GUILE_LOAD_COMPILED_PATH'.


From: Ludovic Courtès
Subject: 04/07: ld-wrapper: Unset 'GUILE_LOAD_COMPILED_PATH'.
Date: Wed, 06 Apr 2016 20:40:30 +0000

civodul pushed a commit to branch core-updates
in repository guix.

commit 2a5739b4c0856721181e4e7ab4b747541a64efca
Author: Ludovic Courtès <address@hidden>
Date:   Wed Apr 6 14:20:50 2016 +0200

    ld-wrapper: Unset 'GUILE_LOAD_COMPILED_PATH'.
    
    * gnu/packages/ld-wrapper.in: Unset 'GUILE_LOAD_COMPILED_PATH'.
---
 gnu/packages/ld-wrapper.in |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/gnu/packages/ld-wrapper.in b/gnu/packages/ld-wrapper.in
index c92ed1d..ebfd833 100644
--- a/gnu/packages/ld-wrapper.in
+++ b/gnu/packages/ld-wrapper.in
@@ -6,12 +6,16 @@
 # the shebang line in Linux.
 # Use `load-compiled' because `load' (and `-l') doesn't otherwise load our
 # .go file (see <http://bugs.gnu.org/12519>).
+# Unset 'GUILE_LOAD_COMPILED_PATH' to make sure we do not stumble upon
+# incompatible .go files.  See
+# <https://lists.gnu.org/archive/html/guile-devel/2016-03/msg00000.html>.
 
+unset GUILE_LOAD_COMPILED_PATH
 main="(@ (gnu build-support ld-wrapper) ld-wrapper)"
 exec @GUILE@ -c "(load-compiled \"@address@hidden") (apply $main (cdr 
(command-line)))" "$@"
 !#
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <address@hidden>
+;;; Copyright © 2012, 2013, 2014, 2015, 2016 Ludovic Courtès <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;



reply via email to

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