diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-08-01 23:30:52 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-08-01 23:30:52 +0200 |
commit | 455859a50f88f625d13fc2f304111f02369b366b (patch) | |
tree | 285d8aa9253f033fa8d64e6b5f9f8d856aae04d2 /gnu/packages/ld-wrapper.in | |
parent | 742effef5629667b274087adc70b06abab86b252 (diff) | |
download | guix-455859a50f88f625d13fc2f304111f02369b366b.tar guix-455859a50f88f625d13fc2f304111f02369b366b.tar.gz |
Merge branch 'core-updates'
Diffstat (limited to 'gnu/packages/ld-wrapper.in')
-rw-r--r-- | 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 c92ed1dcc7..ebfd8332c4 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 \"@SELF@.go\") (apply $main (cdr (command-line)))" "$@" !# ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org> +;;; Copyright © 2012, 2013, 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org> ;;; ;;; This file is part of GNU Guix. ;;; |