ld-wrapper: Unset 'GUILE_LOAD_COMPILED_PATH'.
* gnu/packages/ld-wrapper.in: Unset 'GUILE_LOAD_COMPILED_PATH'.
This commit is contained in:
parent
5d6c4d3794
commit
2a5739b4c0
|
@ -6,12 +6,16 @@
|
||||||
# the shebang line in Linux.
|
# the shebang line in Linux.
|
||||||
# Use `load-compiled' because `load' (and `-l') doesn't otherwise load our
|
# Use `load-compiled' because `load' (and `-l') doesn't otherwise load our
|
||||||
# .go file (see <http://bugs.gnu.org/12519>).
|
# .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)"
|
main="(@ (gnu build-support ld-wrapper) ld-wrapper)"
|
||||||
exec @GUILE@ -c "(load-compiled \"@SELF@.go\") (apply $main (cdr (command-line)))" "$@"
|
exec @GUILE@ -c "(load-compiled \"@SELF@.go\") (apply $main (cdr (command-line)))" "$@"
|
||||||
!#
|
!#
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; 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.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
|
Loading…
Reference in New Issue