summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-09-21 22:58:09 +0200
committerLudovic Courtès <ludo@gnu.org>2020-09-25 14:50:02 +0200
commita83860cd22ec68d3910c3d4ab05107452b080858 (patch)
tree55a98d7ddcba242ddfff16a5d05f1fd48d372dcf
parentdef6e2ae4619587114383b3f8fd9f3cf8310b4b9 (diff)
downloadguix-a83860cd22ec68d3910c3d4ab05107452b080858.tar.gz
gnu: ld-wrapper: Unset 'GUILE_SYSTEM_COMPILED_PATH'.
'GUILE_SYSTEM_COMPILED_PATH' is set by guile-bootstrap@2.0.  Unsetting
it ensures it does not interfere.

* gnu/packages/ld-wrapper.in: Unset GUILE_SYSTEM_COMPILED_PATH.
-rw-r--r--gnu/packages/ld-wrapper.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/ld-wrapper.in b/gnu/packages/ld-wrapper.in
index 2b68b87fb9..0d53e746af 100644
--- a/gnu/packages/ld-wrapper.in
+++ b/gnu/packages/ld-wrapper.in
@@ -11,11 +11,12 @@
 # <https://lists.gnu.org/archive/html/guile-devel/2016-03/msg00000.html>.
 
 unset GUILE_LOAD_COMPILED_PATH
+unset GUILE_SYSTEM_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, 2016, 2017, 2018 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2020 Ludovic Courtès <ludo@gnu.org>
 ;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
 ;;;
 ;;; This file is part of GNU Guix.