add darwin.libiconv to ghcjs packages

+4
+4
pkgs/development/haskell-modules/configuration-ghcjs.nix
··· 19 postPatch = '' 20 ${pkgs.autoconf}/bin/autoreconf --install --force --verbose 21 ''; 22 }); 23 24 # LLVM is not supported on this GHC; use the latest one. 25 inherit (pkgs) llvmPackages;
··· 19 postPatch = '' 20 ${pkgs.autoconf}/bin/autoreconf --install --force --verbose 21 ''; 22 + buildTools = pkgs.lib.optional pkgs.stdenv.isDarwin pkgs.darwin.libiconv; 23 }); 24 + 25 + network = addBuildTools super.network (pkgs.lib.optional pkgs.stdenv.isDarwin pkgs.darwin.libiconv); 26 + zlib = addBuildTools super.zlib (pkgs.lib.optional pkgs.stdenv.isDarwin pkgs.darwin.libiconv); 27 28 # LLVM is not supported on this GHC; use the latest one. 29 inherit (pkgs) llvmPackages;