Unset LD_LIBRARY_PATH' in build-expression->derivation'.

* guix/derivations.scm (build-expression->derivation)[prolog]: Unset
  `LD_LIBRARY_PATH'.
This commit is contained in:
Ludovic Courtès 2012-07-07 22:38:08 +02:00
parent da62d3e5ae
commit d44bc84b15

View file

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