about summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@gmail.com>2016-02-05 14:26:01 -0600
committerThomas Tuegel <ttuegel@gmail.com>2016-02-05 14:26:01 -0600
commitc8577b9f30ec99bc430694a1a377cf91bbcdba98 (patch)
tree30a3c07a469d9b2bfe5828d88e07645f18967f6c /pkgs/development
parent108570129324b72a486cdd1af38e6aaf5a0499de (diff)
downloadnixlib-c8577b9f30ec99bc430694a1a377cf91bbcdba98.tar
nixlib-c8577b9f30ec99bc430694a1a377cf91bbcdba98.tar.gz
nixlib-c8577b9f30ec99bc430694a1a377cf91bbcdba98.tar.bz2
nixlib-c8577b9f30ec99bc430694a1a377cf91bbcdba98.tar.lz
nixlib-c8577b9f30ec99bc430694a1a377cf91bbcdba98.tar.xz
nixlib-c8577b9f30ec99bc430694a1a377cf91bbcdba98.tar.zst
nixlib-c8577b9f30ec99bc430694a1a377cf91bbcdba98.zip
haskell-double-conversion: add libstdc++ to inputs
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 1f746802c7b0..c233934a2151 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -226,8 +226,8 @@ self: super: {
     else super.x509-system;
 
   double-conversion = if !pkgs.stdenv.isDarwin
-    then super.double-conversion
-    else addBuildDepend (overrideCabal super.double-conversion (drv:
+    then addExtraLibrary super.double-conversion pkgs.stdenv.cc.cc.lib
+    else addExtraLibrary (overrideCabal super.double-conversion (drv:
       {
         postPatch = ''
           substituteInPlace double-conversion.cabal --replace stdc++ c++