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.
This commit is contained in:
Ludovic Courtès 2020-09-21 22:58:09 +02:00
parent def6e2ae46
commit a83860cd22
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -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.