summary refs log tree commit diff
path: root/doc/guix.texi
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-01-25 23:25:03 +0100
committerLudovic Courtès <ludo@gnu.org>2019-01-26 00:06:55 +0100
commit280e9c2a26978474b13e8e29b57a6c7a8574df1a (patch)
tree12bf4857038ccd6883931f01eb0bf608dd0e04bc /doc/guix.texi
parent1379319fe7724d6cf077dc205f06c8cc179de943 (diff)
downloadguix-280e9c2a26978474b13e8e29b57a6c7a8574df1a.tar.gz
doc: Update bit about GUIX_LD_WRAPPER_ALLOW_IMPURITIES.
This is a followup to d0a2db47fb550d684c47a0ae3b541a9a71727d9e.

* doc/guix.texi (Application Setup)[The GCC toolchain]: Adjust bit
about GUIX_LD_WRAPPER_ALLOW_IMPURITIES.
Diffstat (limited to 'doc/guix.texi')
-rw-r--r--doc/guix.texi11
1 files changed, 3 insertions, 8 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 0c8f3d131b..22fc03b8fa 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -1723,16 +1723,11 @@ including GCC itself, the GNU C Library (headers and binaries, plus
 debugging symbols in the @code{debug} output), Binutils, and a linker
 wrapper.
 
-@cindex attempt to use impure library, error message
-
 The wrapper's purpose is to inspect the @code{-L} and @code{-l} switches
 passed to the linker, add corresponding @code{-rpath} arguments, and
-invoke the actual linker with this new set of arguments.  By default,
-the linker wrapper refuses to link to libraries outside the store to
-ensure ``purity''.  This can be annoying when using the toolchain to
-link with local libraries.  To allow references to libraries outside the
-store you need to define the environment variable
-@code{GUIX_LD_WRAPPER_ALLOW_IMPURITIES}.
+invoke the actual linker with this new set of arguments.  You can instruct the
+wrapper to refuse to link against libraries not in the store by setting the
+@code{GUIX_LD_WRAPPER_ALLOW_IMPURITIES} environment variable to @code{no}.
 
 @c TODO What else?