aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-07-07 22:38:08 +0200
committerLudovic Courtès <ludo@gnu.org>2012-07-07 22:38:08 +0200
commitd44bc84b152d71b88b478c5cc88126c987ae3ea2 (patch)
tree44ddb221c3f7dde974af589e87e5f5911a44763a
parentda62d3e5ae9be73e2ae98d8663c811c9049a7755 (diff)
downloadpatches-d44bc84b152d71b88b478c5cc88126c987ae3ea2.tar
patches-d44bc84b152d71b88b478c5cc88126c987ae3ea2.tar.gz
Unset `LD_LIBRARY_PATH' in `build-expression->derivation'.
* guix/derivations.scm (build-expression->derivation)[prolog]: Unset `LD_LIBRARY_PATH'.
-rw-r--r--guix/derivations.scm6
1 files changed, 5 insertions, 1 deletions
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 @@ considered to have failed."
(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