about summary refs log tree commit diff
path: root/pkgs/development/compilers
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2019-03-03 20:11:31 -0500
committerPeter Simons <simons@cryp.to>2019-03-05 11:13:52 +0100
commit1f212565d2fcfe2c880e739d4462731a6ec19654 (patch)
treee3623642bb5a6071ac12dedab0a027579005e53d /pkgs/development/compilers
parent9e1ef78162e31f37fccc4ede31c16a5fef7c8421 (diff)
downloadnixlib-1f212565d2fcfe2c880e739d4462731a6ec19654.tar
nixlib-1f212565d2fcfe2c880e739d4462731a6ec19654.tar.gz
nixlib-1f212565d2fcfe2c880e739d4462731a6ec19654.tar.bz2
nixlib-1f212565d2fcfe2c880e739d4462731a6ec19654.tar.lz
nixlib-1f212565d2fcfe2c880e739d4462731a6ec19654.tar.xz
nixlib-1f212565d2fcfe2c880e739d4462731a6ec19654.tar.zst
nixlib-1f212565d2fcfe2c880e739d4462731a6ec19654.zip
ghc863: dont add extra libs
Don’t add -liconv to LDFLAGS automatically so that GHC will add it itself.

Merged in pull request #56795 from @matthewbauer.
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r--pkgs/development/compilers/ghc/8.6.3.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/compilers/ghc/8.6.3.nix b/pkgs/development/compilers/ghc/8.6.3.nix
index 605e442553d0..a2378b595684 100644
--- a/pkgs/development/compilers/ghc/8.6.3.nix
+++ b/pkgs/development/compilers/ghc/8.6.3.nix
@@ -172,6 +172,9 @@ stdenv.mkDerivation (rec {
   # Make sure we never relax`$PATH` and hooks support for compatability.
   strictDeps = true;
 
+  # Don’t add -liconv to LDFLAGS automatically so that GHC will add it itself.
+	dontAddExtraLibs = true;
+
   nativeBuildInputs = [
     perl autoconf automake m4 python3 sphinx
     ghc bootPkgs.alex bootPkgs.happy bootPkgs.hscolour