summary refs log tree commit diff
path: root/doc/stdenv.xml
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-12-02 14:26:53 -0600
committerMatthew Bauer <mjbauer95@gmail.com>2018-12-05 13:17:40 -0600
commit7a00e80329b5ff9673f6a2282f98db7903af7d3f (patch)
tree1463aa7ed5df579a07a1a543a4fbe53bdfc147af /doc/stdenv.xml
parenta9d153633e15a38a661be91f81cfbd22d0c49be6 (diff)
downloadnixpkgs-7a00e80329b5ff9673f6a2282f98db7903af7d3f.tar
nixpkgs-7a00e80329b5ff9673f6a2282f98db7903af7d3f.tar.gz
nixpkgs-7a00e80329b5ff9673f6a2282f98db7903af7d3f.tar.bz2
nixpkgs-7a00e80329b5ff9673f6a2282f98db7903af7d3f.tar.lz
nixpkgs-7a00e80329b5ff9673f6a2282f98db7903af7d3f.tar.xz
nixpkgs-7a00e80329b5ff9673f6a2282f98db7903af7d3f.tar.zst
nixpkgs-7a00e80329b5ff9673f6a2282f98db7903af7d3f.zip
ghc: don’t add libiconv automatically
ghc needs it to fail to correctly detect it for later.
Diffstat (limited to 'doc/stdenv.xml')
-rw-r--r--doc/stdenv.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/stdenv.xml b/doc/stdenv.xml
index 26190debc29..4ef89991d2f 100644
--- a/doc/stdenv.xml
+++ b/doc/stdenv.xml
@@ -2527,6 +2527,23 @@ addEnvHooks "$hostOffset" myBashFunction
     </varlistentry>
     <varlistentry>
      <term>
+      libiconv, libintl
+     </term>
+     <listitem>
+       <para>
+	 A few libraries automatically add to
+	 <literal>NIX_LDFLAGS</literal> their library, making their
+	 symbols automatically available to the linker. This includes
+	 libiconv and libintl (gettext). This is done to provide
+	 compatibility between GNU Linux, where libiconv and libintl
+	 are bundled in, and other systems where that might not be the
+	 case. Sometimes, this behavior is not desired. To disable
+	 this behavior, set <literal>dontAddExtraLibs</literal>.
+       </para>
+     </listitem>
+    </varlistentry>
+    <varlistentry>
+     <term>
       cmake
      </term>
      <listitem>