From d44bc84b152d71b88b478c5cc88126c987ae3ea2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sat, 7 Jul 2012 22:38:08 +0200 Subject: [PATCH] Unset `LD_LIBRARY_PATH' in `build-expression->derivation'. * guix/derivations.scm (build-expression->derivation)[prolog]: Unset `LD_LIBRARY_PATH'. --- guix/derivations.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/guix/derivations.scm b/guix/derivations.scm index 7f32718048..1013a78e7e 100644 --- a/guix/derivations.scm +++ b/guix/derivations.scm @@ -550,7 +550,11 @@ (define %build-inputs (derivation-path->output-path drv sub) drv))))) - inputs)))) + inputs)) + + ;; Guile sets it, but remove it to avoid conflicts when + ;; building Guile-using packages. + (unsetenv "LD_LIBRARY_PATH"))) (builder (add-text-to-store store (string-append name "-guile-builder") (string-append